docs/WhatsAppCampaignsApi.md in brevo-2.0.0 vs docs/WhatsAppCampaignsApi.md in brevo-3.0.0
- old
+ new
@@ -386,11 +386,12 @@
opts = {
start_date: 'start_date_example', # String | **Mandatory if endDate is used**. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the templates created. **Prefer to pass your timezone in date-time format for accurate result**
end_date: 'end_date_example', # String | **Mandatory if startDate is used**. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the templates created. **Prefer to pass your timezone in date-time format for accurate result**
limit: 50, # Integer | Number of documents per page
offset: 0, # Integer | Index of the first document in the page
- sort: 'desc' # String | Sort the results in the ascending/descending order of record modification. Default order is **descending** if `sort` is not passed
+ sort: 'desc', # String | Sort the results in the ascending/descending order of record modification. Default order is **descending** if `sort` is not passed
+ source: 'source_example' # String | source of the template
}
begin
#Return all your created WhatsApp templates
result = api_instance.get_whats_app_templates(opts)
@@ -407,9 +408,10 @@
**start_date** | **String**| **Mandatory if endDate is used**. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the templates created. **Prefer to pass your timezone in date-time format for accurate result** | [optional]
**end_date** | **String**| **Mandatory if startDate is used**. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the templates created. **Prefer to pass your timezone in date-time format for accurate result** | [optional]
**limit** | **Integer**| Number of documents per page | [optional] [default to 50]
**offset** | **Integer**| Index of the first document in the page | [optional] [default to 0]
**sort** | **String**| Sort the results in the ascending/descending order of record modification. Default order is **descending** if `sort` is not passed | [optional] [default to desc]
+ **source** | **String**| source of the template | [optional]
### Return type
[**GetWATemplates**](GetWATemplates.md)