Put On Stop

Put On Stop

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areaclients.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
ActionYesThe action to performaction=stop_on
IdentifierYesClient ID or UUIDclient=1/P0909

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/clients.json?&version=6&action=stop_on&client=1/P0909

Example request (legacy username/password):

http://<SERVER>/jsonapi/clients.json?&version=6&action=stop_on&client=1/P0909&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "responsemessage": "Organisation on stop flag changed. ",
  "warningmessage": "",
  "success": true
}