PUT api/v1/Agents/{agentId}/Users/{contactId}/GDPR
Update GDPRflag of Contact
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| payload |
Define this parameter in the request body. |
|
| agentId |
Define this parameter in the request URI. |
|
| contactId |
Define this parameter in the request URI. |
Request body formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"AgentID": 1,
"ContactID": 2,
"GDPRflag": true
}
application/xml, text/xml
Sample:
<AgentContactrGDPRflagDTO> <AgentID>1</AgentID> <ContactID>2</ContactID> <GDPRflag>true</GDPRflag> </AgentContactrGDPRflagDTO>
Response Information
Response body formats
application/json, text/json
Sample:
{
"AgentID": 1,
"ContactID": 2,
"GDPRflag": true
}
application/xml, text/xml
Sample:
<AgentContactrGDPRflagDTO> <AgentID>1</AgentID> <ContactID>2</ContactID> <GDPRflag>true</GDPRflag> </AgentContactrGDPRflagDTO>