docs/SMSCampaignsApi.md in sib-api-v3-sdk-5.2.1 vs docs/SMSCampaignsApi.md in sib-api-v3-sdk-5.2.2
- old
+ new
@@ -128,11 +128,11 @@
- **Accept**: application/json
# **get_sms_campaign**
-> GetSmsCampaign get_sms_campaign(campaign_id, get_sms_campaign)
+> GetSmsCampaign get_sms_campaign(campaign_id)
Get an SMS campaign
### Example
```ruby
@@ -153,16 +153,14 @@
api_instance = SibApiV3Sdk::SMSCampaignsApi.new
campaign_id = 789 # Integer | id of the SMS campaign
-get_sms_campaign = SibApiV3Sdk::GetSmsCampaign.new # GetSmsCampaign | Values to update an SMS Campaign
-
begin
#Get an SMS campaign
- result = api_instance.get_sms_campaign(campaign_id, get_sms_campaign)
+ result = api_instance.get_sms_campaign(campaign_id)
p result
rescue SibApiV3Sdk::ApiError => e
puts "Exception when calling SMSCampaignsApi->get_sms_campaign: #{e}"
end
```
@@ -170,10 +168,9 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**campaign_id** | **Integer**| id of the SMS campaign |
- **get_sms_campaign** | [**GetSmsCampaign**](GetSmsCampaign.md)| Values to update an SMS Campaign |
### Return type
[**GetSmsCampaign**](GetSmsCampaign.md)