For more information on using API

GET https://webapi.mymarketing.co.il/api/automationreports/{id}/logautomation

Returns all the contacts that started a specific automation and shows all their steps in the 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

Body Parameters

None.

Response Information

Resource Description

ApiLogAutomationList

Name

Description

Type

Additional information

total_items

Total of automation log items of contacts who ever started the automation

integer
total_distinct_by_customer_id

Total of automation log items of contacts who ever started the automation order by

integer
log_automations

List of automaion log items of contacts who ever started the automation

Collection of ApiLogAutomation

Response Formats

application/json, text/json

Sample:
{
  "total_items": 1,
  "total_distinct_by_customer_id": 2,
  "log_automations": [
    {
      "id": 1,
      "automation_id": 2,
      "contact_id": 1
    },
    {
      "id": 1,
      "automation_id": 2,
      "contact_id": 1
    }
  ]
}

application/xml, text/xml

Sample:
<ApiLogAutomationList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models.AutomationReport">
  <log_automations>
    <ApiLogAutomation>
      <automation_id>2</automation_id>
      <contact_id>1</contact_id>
      <id>1</id>
    </ApiLogAutomation>
    <ApiLogAutomation>
      <automation_id>2</automation_id>
      <contact_id>1</contact_id>
      <id>1</id>
    </ApiLogAutomation>
  </log_automations>
  <total_distinct_by_customer_id>2</total_distinct_by_customer_id>
  <total_items>1</total_items>
</ApiLogAutomationList>