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
Output data:
A sample request in PHP:
| type | text | Type of automatic action |
| task_types | array | Array of task type IDs to get data format for |
| | - | int | Task type ID |
Output data
The method returns the data in JSON format.
| status | varchar(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 |
| tasks | array | Array of task data formats |
| | - task_type | int | Task type |
| | - task_name | text | Task name |
| | - data_format | array | Data format specification |
| | - examples | array | Example data values |
Sample
Input data:Output data:
A sample request in PHP: