List Usage Record Today
GET {{2010-04-01-Accounts-AccountSid-Usage-Records-Today.json-Url}}/2010-04-01/Accounts/:AccountSid/Usage/Records/Today.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":"ACEfb0b65F8880A7BB0EADCB88c04780c9","api_version":"","as_of":"sunt pariatur","category":"\u003cstring\u003e","count":"sed","count_unit":"exercitation ea id irure","description":"labore nulla in occaecat","end_date":"1996-09-05","price":44756895.12009251,"price_unit":"deserunt laborum","start_date":"2001-03-10","subresource_uris":{},"uri":"sed elit veniam","usage":"cupidatat exercitation repr","usage_unit":"eiusmod Excepteur"},{"account_sid":"AC6DBBB54d86e309fd0cCEfBCda79FDfeB","api_version":"aliqua velit proident","as_of":"incididunt sit commodo c","category":"\u003cstring\u003e","count":"veniam esse sunt nulla","count_unit":"quis ex id","description":"non Excepteur qui","end_date":"1996-06-30","price":55427442.243184954,"price_unit":"ea veniam proident aliquip","start_date":"1952-06-13","subresource_uris":{},"uri":"quis elit","usage":"officia commodo dolor","usage_unit":"mollit elit veniam"}],"end":-89724396,"first_page_uri":"https://afAvMQZgDqUgHYNgSFcLvCeWGGTJmuocL.axSfJDsW6-hIFP4pm3WMqnE7YGXG","next_page_uri":"http://PWHCXEL.kwVTbnmomgHAYidwMmvIL4gBVFJeJ4qVcNRndYZefquV8kC1qbEqAFIUm8c","page":91144925,"page_size":20027455,"previous_page_uri":"http://cGHjXPMiGuoESTwXDMLktCWlwcrtY.uxfGD","start":96207086,"uri":"http://Q.cpwmWWvWrq4UXiqi"}