List Usage Record This Month
GET {{2010-04-01-Accounts-AccountSid-Usage-Records-ThisMonth.json-Url}}/2010-04-01/Accounts/:AccountSid/Usage/Records/ThisMonth.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":"AC82E1d125c5CFDdF604654A81aEaa730F","api_version":"occaecat deserunt Lorem Ut fugiat","as_of":"minim est eiusmod adipisicing enim","category":"\u003cstring\u003e","count":"labore consectetur eu par","count_unit":"dolor proident commodo non ad","description":"sunt Duis ex Excepteur","end_date":"2005-08-11","price":44988029.58919579,"price_unit":"sit eiusmod","start_date":"2005-06-10","subresource_uris":{},"uri":"ad magna laboris","usage":"commodo proident","usage_unit":"officia amet minim anim"},{"account_sid":"ACe10daEdD1de5fcEBF6A1fcDBdFCf61Fb","api_version":"proident anim","as_of":"amet elit officia","category":"\u003cstring\u003e","count":"consequat aute qui tempor culpa","count_unit":"voluptate amet","description":"Excepteur ex in","end_date":"2009-12-20","price":-51856173.98971019,"price_unit":"venia","start_date":"2009-09-19","subresource_uris":{},"uri":"consecte","usage":"proident qui dolor Ex","usage_unit":"ipsum veniam Duis"}],"end":-52527148,"first_page_uri":"http://IaMeYIM.vuamsAiLVFtm2ETZrWfLKf5nu9de.Me","next_page_uri":"https://PI.qondGH.g7THvWte1BlIGGBCWlRyiApqUOV0kvz3SvpzO0tv","page":5865947,"page_size":-12497999,"previous_page_uri":"http://UCtcCjahZpCApRgDyNE.mbjzhDS.SwhPQRt,g2KY91","start":99677966,"uri":"https://iBFGsNMyxfbaZOTywQ.bbcxq2gjDUKPb7LS"}