API documentation
Method list
Test your request
Changelog


getAutomaticActionConditionsDataFormat
Returns data format specification for automatic action conditions. Use this to understand what data should be provided in condition data field when creating/updating automatic actions.


Input parameters
typetextType of automatic action
condition_typesarrayArray of condition type IDs to get data format for
| - 0



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
conditionsarrayArray of condition data formats
| - 0
| - 1
| - 2
| - 3
| - 4



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