Create Automation
Copied
https://api.ocamba.com/v2/ocamba/ebs/automations
Copied
https://api.ocamba.com/v2/ocamba/ebs/automations
Creates a new Automation object
Name
Descriptionactions[ ebs-action ]
Actions objects.Event system - Action
Name
Descriptionactions[ ebs-action ]
New actions to execute.Example: [ { "id":"1010", "integration_id":"10000", "data":{ "body":{ "user_id":"{{event.user_id}}", "zone_id":"123456" } } } ]
dataobject
Action data.Example: { "body": { "user_id": "{{event.user_id}}", "zone_id": "123345678" } }
filters[ ebs-filter ]
A tool for finding and executing only the event that is matched with filter.Example: [ {"key":"{{event.tag_id}}","match":"in:120,960"} ]
Event system - Filter
Name
Descriptionfilters[ ebs-filter ]
A tool for finding and executing only the event that is matched with filter.Example: [ {"key":"{{event.tag_id}}","match":"in:120,960"} ]
keystring
The tag id that filters events.Example: {{event.tag_id}}
matchstring
Input that will match event key.Example: 120
idstring
The ID of the event, generated by Ocamba API.Example: 1002
integration_idstring
The ID of the integration.Example: 10000
company_idstring
The ID of the integration.Example: 6197120
create_timedateTime
Timezone: GMT.Example: 2021-07-30 12:50:13
descriptionstring
The detailed Automation description.Example: Push welcome
event[ ebs-event ]
Events objects.Event system - Event
Name
Descriptionidstring
The ID of the event, generated by Ocamba API.Example: 1000
integration_idstring
The ID of the integration.Example: 10000
idstring
The ID of the event, generated by Ocamba API.Example: 10001
namestring
The Automation name.Example: First automation
statusstring
The Status of Automation.Example: active
update_timedateTime
Timezone: GMT.Example: 2021-07-30 12:50:13
201 - Created