Notifications

Update notification radio product

This endpoint allows you to update a notification for radio product.

put/1/radios/{radio_product_id}/notification

Path parameters

radio_product_idinteger required

The unique identifier (ID) of the radio product to request.

Request body

end_hourstring

Specify the last hour of the day to receive notification

is_enabledboolean

Specify if the notification is enabled

is_fridayboolean

Specify if the notification can be sent the friday

is_mailboolean

Specify if the notification will be sent by mail

is_mondayboolean

Specify if the notification can be sent the monday

is_saturdayboolean

Specify if the notification can be sent the saturday

is_smsboolean

Specify if the notification will be sent by sms

is_sundayboolean

Specify if the notification can be sent the sunday

is_thursdayboolean

Specify if the notification can be sent the thursday

is_tuesdayboolean

Specify if the notification can be sent the tuesday

is_wednesdayboolean

Specify if the notification can be sent the wednesday

start_hourstring

Specify the begin hour of the day to receive notification

usersstring nullable

Specify the list of account id will receive the notification

Example request

{
  "end_hour": "15:45:55",
  "start_hour": "12:30:10",
  "users": "1,2,5,7"
}

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

databoolean

Example response

{
  "result": "success"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.