All URIs are relative to https://api.twilio.com
Method | HTTP request | Description |
---|---|---|
ListUsageRecordLastMonth | Get /2010-04-01/Accounts/{AccountSid}/Usage/Records/LastMonth.json |
[]ApiV2010UsageRecordLastMonth ListUsageRecordLastMonth(ctx, optional)
This endpoint does not need any path parameter.
Other parameters are passed through a pointer to a ListUsageRecordLastMonthParams struct
Name | Type | Description |
---|---|---|
PathAccountSid | string | The SID of the Account that created the UsageRecord resources to read. |
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 | bool | 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 | int | How many resources to return in each list page. The default is 50, and the maximum is 1000. |
Limit | int | Max number of records to return. |
[]ApiV2010UsageRecordLastMonth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]