POST api/v1/Users/{contactID}/Preferences/Notification
SaveAgentContactSetting
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| contactID |
Define this parameter in the request URI. |
|
| postAgentContactSetting |
Define this parameter in the request body. |
Request body formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"EmailNotification": true,
"PushNotification": true
}
application/xml, text/xml
Sample:
<AgentContactSettingDTO> <EmailNotification>true</EmailNotification> <PushNotification>true</PushNotification> </AgentContactSettingDTO>
Response Information
Response body formats
application/json, text/json
Sample:
{
"EmailNotification": true,
"PushNotification": true
}
application/xml, text/xml
Sample:
<AgentContactSettingDTO> <EmailNotification>true</EmailNotification> <PushNotification>true</PushNotification> </AgentContactSettingDTO>