List Usage Record Monthly
GET {{2010-04-01-Accounts-AccountSid-Usage-Records-Monthly.json-Url}}/2010-04-01/Accounts/:AccountSid/Usage/Records/Monthly.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":"ACFC9Fd8C2eedc9FB9ACFEc601b4B7bDDC","api_version":"sunt aute nisi","as_of":"nisi eiusmod cillum laboris labore","category":"\u003cstring\u003e","count":"ad voluptate","count_unit":"nisi non quis","description":"dolore","end_date":"1991-01-20","price":35058471.29737294,"price_unit":"cupidatat labore ","start_date":"2014-11-13","subresource_uris":{},"uri":"ut sit","usage":"labore dolor anim adipisicing pariatur","usage_unit":"cupidatat ve"},{"account_sid":"ACd8703C7ccFEBbC5d5FaBb38Deb9CEeC6","api_version":"officia ea","as_of":"ea","category":"\u003cstring\u003e","count":"tempor do nostrud","count_unit":"est","description":"irure magna ea","end_date":"2012-03-03","price":-82831748.33618845,"price_unit":"dolore Duis qui","start_date":"1973-08-04","subresource_uris":{},"uri":"sint quis","usage":"non eius","usage_unit":"elit com"}],"end":62739298,"first_page_uri":"http://pYDy.mdhfNh7yxeN02h3ZeFEkcoPP.EvJZERwko8hlvcQobDba9l4ECvhKvcRivIc","next_page_uri":"https://oYDMwphqMPebJHaPDWGvz.auBxXleeievLz+LekrecjYnx5cJQzBXFkQmHzliK+9jEeczOT5ZgRlTcygNhjoWeMGrqFaQ","page":-7211222,"page_size":-16071868,"previous_page_uri":"https://ZaAGQ.olubjMFCQ6QeE3AlBT2OyI6lgdACBFxbueOzBffWcGc1nfR","start":-2167728,"uri":"https://CDaKOPssayeTGXLwR.tbfXXFKVL0KemAr48PMRTPlgdwBLZBr7dmrgJbdhGZyMy+sHHHU"}