GET https://webapi.mymarketing.co.il/api/automations/{id}/PushNotificationSteps/{stepId}
Get the information of a specific push notification step in the given 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 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)
Required
Body Parameters
None.
Response Information
Resource Description
Name
Description
Type
Additional information
Step id
Name of campaign
Required
If the campaign in the automation step is designd and saved
Campaign id
If the step is active
Required
Campaign id
A list of the working days for the step
Response Formats
application/json, text/json
{ "id": 1, "push_name": "sample string 1", "is_designed": true, "type": "EmailCampaign", "object_id": 1, "is_active": true, "step_type": "EmailCampaign", "campaign_id": "0ee5fded-feb9-47cc-84da-d32db853859b", "title": "sample string 4", "subtitle": "sample string 5", "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
<ApiAutomationPushNotificationStepInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models"> <campaign_id>0ee5fded-feb9-47cc-84da-d32db853859b</campaign_id> <id>1</id> <is_active>true</is_active> <is_designed>true</is_designed> <object_id>1</object_id> <push_name>sample string 1</push_name> <step_type>EmailCampaign</step_type> <subtitle>sample string 5</subtitle> <title>sample string 4</title> <type>EmailCampaign</type> <working_days> <ApiAutomationExtendedDetailsWorkingDays> <day>1</day> <from>PT0.1234567S</from> <to>PT0.1234567S</to> </ApiAutomationExtendedDetailsWorkingDays> <ApiAutomationExtendedDetailsWorkingDays> <day>1</day> <from>PT0.1234567S</from> <to>PT0.1234567S</to> </ApiAutomationExtendedDetailsWorkingDays> </working_days> </ApiAutomationPushNotificationStepInfo>