PUT https://webapi.mymarketing.co.il/api/automations/{id}/SMSCampaignSteps/{stepId}
Update an SMS campaign step in the automation
Request Information
URI Parameters
Name
Description
Type
Additional information
Automation id. Can be found using the endpoint "Get account's automations" or in the UI (go to Automations->Automations Lists->click on the automation's reports -> you'll find the id int the URL)
Required
Step id. Can be found using the endpoint "Get all the 'send SMS' steps in a given automation" or in the UI (go to Automations->Automations Lists->click on the automation's reports -> click on the desired step -> you'll find the id int the URL)
Required
Body Parameters
Name
Description
Type
Additional information
Campaign name
Required
User Sms Profile Id
Required
From name
Required
Message content
Required
If the links are tracked
Unsbscribe test to add to link
If the step is active
Required
Request Formats
application/json, text/json
{ "campaign_name": "sample string 1", "user_sms_profile_id": 2, "from_name": "sample string 3", "content": "sample string 4", "is_link_tracking": true, "unsubscribe_text": "sample string 6", "is_active": true, "working_days": [ { "day": 1, "from": "00:00:00.1234567", "to": "00:00:00.1234567" }, { "day": 1, "from": "00:00:00.1234567", "to": "00:00:00.1234567" } ] }
application/xml, text/xml
<ApiAutomationSmsStepUpdateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <campaign_name>sample string 1</campaign_name> <content>sample string 4</content> <from_name>sample string 3</from_name> <is_active>true</is_active> <is_link_tracking>true</is_link_tracking> <unsubscribe_text>sample string 6</unsubscribe_text> <user_sms_profile_id>2</user_sms_profile_id> <working_days xmlns:d2p1="http://schemas.datacontract.org/2004/07/ActiveTrail.BusinessLogic.Automations.Models"> <d2p1:AutomationExtendedDetailsWorkingDays> <d2p1:day>1</d2p1:day> <d2p1:from>PT0.1234567S</d2p1:from> <d2p1:to>PT0.1234567S</d2p1:to> </d2p1:AutomationExtendedDetailsWorkingDays> <d2p1:AutomationExtendedDetailsWorkingDays> <d2p1:day>1</d2p1:day> <d2p1:from>PT0.1234567S</d2p1:from> <d2p1:to>PT0.1234567S</d2p1:to> </d2p1:AutomationExtendedDetailsWorkingDays> </working_days> </ApiAutomationSmsStepUpdateInfo>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
None.