Acoustic Exchange sends subscription notifications in an HTTP call to the notification URL. Details of the subscription change are provided as a JSON payload.
JSON structure
The JSON payload appears as follows.
|
Notification key
The notification key that you specify during registration displays here in each subscription notification.
Property | Use | Type | Value | Description |
---|---|---|---|---|
notificationKey | Optional | String | User-defined | Acoustic Exchange includes the value with each notification. |
Time of the subscription change
Acoustic Exchange indicates when the subscription change occurred.
Property | Use | Type | Value | Description |
---|---|---|---|---|
changeTime | Required | ISO-8601 | System-defined | Acoustic Exchange indicates when the subscription change was received. |
Description of the subscription change
The description includes the type of subscription change, the Acoustic Exchange event code, and the name of the event.
Property | Use | Type | Value | Description |
---|---|---|---|---|
changeType | Required | String |
Add Delete Enable Disable |
Users make these changes in the Acoustic Exchange user interface. |
eventTypeCode | Required | String | As defined | The event code as defined as a Acoustic Exchange recognized event or as registered with Acoustic Exchange as a custom event. |
eventName | Required | String | As defined | Name of the event, as registered with Acoustic Exchange. |