GET https://webapi.mymarketing.co.il/api/automations/{id}/SocialSteps/{stepId}
Get the information of a specific Social step in the given automation
Request Information
URI Parameters
Name
Description
Type
Additional information
id
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)
integer
Required
stepId
Step id. Can be found using the endpoint "Get automation data (including its' steps)" 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)
integer
Required
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
network
Network
string
accountId
Account Id
string
id
Step id
integer
object_id
Not in use here
integer
actionName
Action type
string
entity_id
Group id / Field id
integer
entity_value
Value to update
string
is_active
Active
boolean
Required
businessId
Business Id
string
adAccountId
Ad Account Id
string
audienceId
Audience Id
string
audienceName
Audience Name
string
Response Formats
application/json, text/json
Sample:
{ "network": "sample string 1", "accountId": "sample string 2", "id": 1, "object_id": 1, "type": "EmailCampaign", "actionType": "AddToAudience", "actionName": "sample string 3", "entity_id": 1, "entity_value": "sample string 4", "is_active": true, "businessId": "sample string 6", "adAccountId": "sample string 7", "audienceId": "sample string 8", "audienceName": "sample string 9" }
application/xml, text/xml
Sample:
<ApiAutomationSocialStepInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <accountId>sample string 2</accountId> <actionName>sample string 3</actionName> <actionType>AddToAudience</actionType> <adAccountId>sample string 7</adAccountId> <audienceId>sample string 8</audienceId> <audienceName>sample string 9</audienceName> <businessId>sample string 6</businessId> <entity_id>1</entity_id> <entity_value>sample string 4</entity_value> <id>1</id> <is_active>true</is_active> <network>sample string 1</network> <object_id>1</object_id> <type>EmailCampaign</type> </ApiAutomationSocialStepInfo>