List Usage Record Daily
GET {{2010-04-01-Accounts-AccountSid-Usage-Records-Daily.json-Url}}/2010-04-01/Accounts/:AccountSid/Usage/Records/Daily.json?Category=trunking-origination-mobile&StartDate=1976-09-29&EndDate=1976-09-29&IncludeSubaccounts=true&PageSize=16
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
Category | string | The usage category of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. | |
StartDate | string | Only include usage that has occurred on or after this date. Specify the date in GMT and format as YYYY-MM-DD . You can also specify offsets from the current date, such as: -30days , which will set the start date to be 30 days before the current date. | |
EndDate | string | Only include usage that occurred on or before this date. Specify the date in GMT and format as YYYY-MM-DD . You can also specify offsets from the current date, such as: +30days , which will set the end date to 30 days from the current date. | |
IncludeSubaccounts | boolean | Whether to include usage from the master account and all its subaccounts. Can be: true (the default) to include usage from the master account and all subaccounts or false to retrieve usage from only the specified account. | |
PageSize | number | How many resources to return in each list page. The default is 50, and the maximum is 1000. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"usage_records":[{"account_sid":"ACBA095bD972b3D063108A1d1F8c1beEdB","api_version":"ad esse nisi est","as_of":"fugiat aliquip eu","category":"\u003cstring\u003e","count":"dolore","count_unit":"magna Lorem","description":"dolore ea nostrud dolor","end_date":"2004-03-27","price":10729424.986602083,"price_unit":"sint ex ut sunt aute","start_date":"1996-03-30","subresource_uris":{},"uri":"mollit ipsum","usage":"e","usage_unit":"consequat proident adipisicing in"},{"account_sid":"ACf3fFFE891aAB19F49cad5c4FC579e355","api_version":"dolor consequat laboris","as_of":"commodo voluptate","category":"\u003cstring\u003e","count":"nisi ut aute et","count_unit":"do minim et","description":"sunt es","end_date":"2004-05-23","price":65013287.149293005,"price_unit":"laboris aut","start_date":"2006-02-12","subresource_uris":{},"uri":"ea ullamco culpa ipsum","usage":"pariatur ullamco proident dolore","usage_unit":"consequat dolore ipsum voluptate"}],"end":5025627,"first_page_uri":"http://tA.wcpA+-UV0pwNm8vYEMyvyaNdUeQU7F8x3lErieKGSopq","next_page_uri":"https://hwgsEOrvAeBkPAvXUmyWiJtdHCQDkkiuB.kkbbZUqomy5sXDe05Zk9KEuG4UXXGi51jiFsVhjOr9tiOmtLpPuyVDg0k4BgA","page":-97311510,"page_size":66316813,"previous_page_uri":"https://zLqZBVntuCAZIxVPWfyCD.sroEm,hWDvk","start":-84781505,"uri":"https://mJMuzvrHpZCRrpBFuunCRwLRvRUJode.twHdnyEAJmv8YQU0fTyH"}