twilio-rust-openapi 1.0.0

This is the public Twilio REST API.
Documentation
# \Api20100401AllTimeApi

All URIs are relative to *https://api.twilio.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**list_usage_record_all_time**]Api20100401AllTimeApi.md#list_usage_record_all_time | **GET** /2010-04-01/Accounts/{AccountSid}/Usage/Records/AllTime.json | 



## list_usage_record_all_time

> models::ListUsageRecordAllTimeResponse list_usage_record_all_time(account_sid, category, start_date, end_date, include_subaccounts, page_size, page, page_token)




### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**account_sid** | **String** | The SID of the [Account]https://www.twilio.com/docs/iam/api/account that created the UsageRecord resources to read. | [required] |
**category** | Option<**UsageRecordAllTimeEnumCategory**> | The [usage category]https://www.twilio.com/docs/usage/api/usage-record#usage-categories of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved. |  |
**start_date** | Option<**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. |  |
**end_date** | Option<**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. |  |
**include_subaccounts** | Option<**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. |  |
**page_size** | Option<**i32**> | How many resources to return in each list page. The default is 50, and the maximum is 1000. |  |
**page** | Option<**i32**> | The page index. This value is simply for client state. |  |
**page_token** | Option<**String**> | The page token. This is provided by the API. |  |

### Return type

[**models::ListUsageRecordAllTimeResponse**](ListUsageRecordAllTimeResponse.md)

### Authorization

[accountSid_authToken](../README.md#accountSid_authToken)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)