GDPR - update opt outs

Update

ParameterDescriptionExampleMore info
APIThe API areaclientcontacts.json
ActionThe action to performaction=update
Parameters described in overviewuser=user&password=user&version=3.3v3.3 Overview
inputJSON stringinput="data": ...
Client contact internal reference
number"clientcontactInternalRef":8632
Client contact opt out field
number"clientcontactOptOutPhone":true

Response|Returned data|See below

Example request:

http://<server>/jsonapi/clientcontacts.json?user=user&password=user&version=3.3&action=update&input={"data":[{"clientcontactInternalRef":142, "clientcontactOptOutPhone":true}]}

Example response:

{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "data processed successfully.",
"warningmessage": "",
"success": true,
"data": [
{
"clientcontactInternalRef": 142,
"clientcontactuuid": "B47402D2DAB94DCAA78E01DF8F07808E",
"clientcontactTimeStampModified": 1536227626,
"clientcontactRecordVersionNumber": 11
}
]
}