docs/SMSCampaignsApi.md in sib-api-v3-sdk-7.1.0 vs docs/SMSCampaignsApi.md in sib-api-v3-sdk-7.2.0
- old
+ new
@@ -213,11 +213,12 @@
opts = {
status: 'status_example', # String | Status of campaign.
start_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
limit: 500, # Integer | Number limitation for the result returned
- offset: 0 # Integer | Beginning point in the list to retrieve from.
+ offset: 0, # Integer | Beginning point in the list to retrieve from.
+ sort: 'desc' # String | Sort the results in the ascending/descending order of record creation
}
begin
#Returns the information for all your created SMS campaigns
result = api_instance.get_sms_campaigns(opts)
@@ -234,9 +235,10 @@
**status** | **String**| Status of campaign. | [optional]
**start_date** | **DateTime**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
**end_date** | **DateTime**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional]
**limit** | **Integer**| Number limitation for the result returned | [optional] [default to 500]
**offset** | **Integer**| Beginning point in the list to retrieve from. | [optional] [default to 0]
+ **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
### Return type
[**GetSmsCampaigns**](GetSmsCampaigns.md)