For more information on using API

GET http://webapi.mymarketing.co.il/api/automations/{id}/SMSCampaignSteps

Get all the steps in the automation that are for SMS campaign

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Automation id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiAutomationSmsStepInfoList

Name

Description

Type

Additional information

total_items

Total number of sms campaign steps

integer
automations_Sms_steps_info

List of sms steps in the automation

Collection of ApiAutomationSmsStepInfo

Response Formats

application/json, text/json

Sample:
{
  "total_items": 1,
  "automations_Sms_steps_info": [
    {
      "campaign_name": "sample string 1",
      "from_name": "sample string 2",
      "content": "sample string 3",
      "is_link_tracking": true,
      "unsubscribe_text": "sample string 5",
      "id": 1,
      "type": "EmailCampaign",
      "object_id": 1
    },
    {
      "campaign_name": "sample string 1",
      "from_name": "sample string 2",
      "content": "sample string 3",
      "is_link_tracking": true,
      "unsubscribe_text": "sample string 5",
      "id": 1,
      "type": "EmailCampaign",
      "object_id": 1
    }
  ]
}

application/xml, text/xml

Sample:
<ApiAutomationSmsStepInfoList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <automations_Sms_steps_info>
    <ApiAutomationSmsStepInfo>
      <campaign_name>sample string 1</campaign_name>
      <content>sample string 3</content>
      <from_name>sample string 2</from_name>
      <id>1</id>
      <is_link_tracking>true</is_link_tracking>
      <object_id>1</object_id>
      <type>EmailCampaign</type>
      <unsubscribe_text>sample string 5</unsubscribe_text>
    </ApiAutomationSmsStepInfo>
    <ApiAutomationSmsStepInfo>
      <campaign_name>sample string 1</campaign_name>
      <content>sample string 3</content>
      <from_name>sample string 2</from_name>
      <id>1</id>
      <is_link_tracking>true</is_link_tracking>
      <object_id>1</object_id>
      <type>EmailCampaign</type>
      <unsubscribe_text>sample string 5</unsubscribe_text>
    </ApiAutomationSmsStepInfo>
  </automations_Sms_steps_info>
  <total_items>1</total_items>
</ApiAutomationSmsStepInfoList>