getAutomaticActionAvailableTriggers
Returns list of all available automatic action triggers for specified type. Use this to get trigger_type IDs that can be used in AddAutomaticAction and GetAutomaticActionTriggersDataFormat methods.
Input parameters
Output data:
A sample request in PHP:
| type | text | Type of automatic action |
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 |
| triggers | array | List of available triggers |
| | - 0 | ||
| | - 1 |
Sample
Input data:Output data:
A sample request in PHP: