Hierarchy
- CRM_Marketing_WebhookResult
Properties
Optional actions
Actions performed by the system after processing the notification from the email marketing service.
See the list of possible actions in CRM_Marketing_ActionType and CRM_Marketing_Action.
Optional response
HTTP response from the function. If the value is not defined, the response will be 200 OK.
Note that if there is an unprocessed exception inside the function’s body, the system will return 500 Internal Server Error.
If this behavior is not desired, wrap the function’s body in the try/catch construct.
In the catch block, return an instance of CRM_Marketing_WebhookResult with a filled out response field.
Result of processing notification from email marketing service
Contains actions that will be performed as a result of calling the
CRM_Marketing_ParseWebhookRequestfunction. For example, this can be updating a subscriber’s or a campaign’s status.