List Usage Record Yearly
GET {{2010-04-01-Accounts-AccountSid-Usage-Records-Yearly.json-Url}}/2010-04-01/Accounts/:AccountSid/Usage/Records/Yearly.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":"AC3D6BcdFBD9eC72cAd2db7F1ED41fCbAA","api_version":"enim anim culpa irure elit","as_of":"dolore do ea Duis","category":"\u003cstring\u003e","count":"tempor","count_unit":"aliquip Excepteur Lorem deserunt","description":"veniam esse aute reprehenderit","end_date":"1980-08-25","price":-19091854.939585984,"price_unit":"qui","start_date":"2019-07-12","subresource_uris":{},"uri":"pariatur dolore cupidatat commodo","usage":"dolore fugiat in nostrud commodo","usage_unit":"officia dolore exercit"},{"account_sid":"AC0B08A59Ab6fBFE540F0Aa0E77C26cA9B","api_version":"nisi nulla Ut velit","as_of":"irure cillum laboris eiusmod","category":"\u003cstring\u003e","count":"Excepteur","count_unit":"sint","description":"ex dolore quis","end_date":"1993-12-24","price":-36570553.98938507,"price_unit":"sunt culpa esse est","start_date":"1968-09-24","subresource_uris":{},"uri":"ullamco est","usage":"est Lorem","usage_unit":"anim "}],"end":-20951364,"first_page_uri":"http://ntxmWPXeRMIncy.ylqnU49mZWU8e6zTc,vI15qg3f","next_page_uri":"https://bMVOdSiDRXwbDJOgQIETjkPIqrxl.yuel9DCrd6td,uALB","page":-21424010,"page_size":76000279,"previous_page_uri":"https://HYQALSGtCTm.qiorILM-QIl1sLUERBdO90c-d.J8ykCce0,3OhZBkp6","start":-42344688,"uri":"http://lzcdSCXd.ankqNSQcCkfvybj7dQ3AG94FS4NUKAxP0"}