github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/docs/AccountsUsageRecordsThisMonthApi.md (about)

     1  # AccountsUsageRecordsThisMonthApi
     2  
     3  All URIs are relative to *https://api.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**ListUsageRecordThisMonth**](AccountsUsageRecordsThisMonthApi.md#ListUsageRecordThisMonth) | **Get** /2010-04-01/Accounts/{AccountSid}/Usage/Records/ThisMonth.json | 
     8  
     9  
    10  
    11  ## ListUsageRecordThisMonth
    12  
    13  > []ApiV2010UsageRecordThisMonth ListUsageRecordThisMonth(ctx, optional)
    14  
    15  
    16  
    17  
    18  
    19  ### Path Parameters
    20  
    21  This endpoint does not need any path parameter.
    22  
    23  ### Other Parameters
    24  
    25  Other parameters are passed through a pointer to a ListUsageRecordThisMonthParams struct
    26  
    27  
    28  Name | Type | Description
    29  ------------- | ------------- | -------------
    30  **PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the UsageRecord resources to read.
    31  **Category** | **string** | 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.
    32  **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.
    33  **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.
    34  **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.
    35  **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
    36  **Limit** | **int** | Max number of records to return.
    37  
    38  ### Return type
    39  
    40  [**[]ApiV2010UsageRecordThisMonth**](ApiV2010UsageRecordThisMonth.md)
    41  
    42  ### Authorization
    43  
    44  [accountSid_authToken](../README.md#accountSid_authToken)
    45  
    46  ### HTTP request headers
    47  
    48  - **Content-Type**: Not defined
    49  - **Accept**: application/json
    50  
    51  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    52  [[Back to Model list]](../README.md#documentation-for-models)
    53  [[Back to README]](../README.md)
    54