API documentation
Method list
Test your request
Changelog


getAutomaticActionTasksDataFormat
Returns data format specification for automatic action tasks. Use this to understand what data should be provided in task data field when creating/updating automatic actions.


Input parameters
typetextType of automatic action
task_typesarrayArray of task type IDs to get data format for
| - intTask type ID



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
tasksarrayArray of task data formats
| - task_typeintTask type
| - task_nametextTask name
| - data_formatarrayData format specification
| - examplesarrayExample data values



Sample
Input data:
Output data:
A sample request in PHP: