Revert to prospect
Parameter | Description | Example | More info |
---|---|---|---|
API | The API area | clients.json | |
Action | The action to perform | action=revert | |
Parameters described in overview | user=user&password=user&version=3.3 | ||
Client | Client to revert | client=1/AMT2A | |
Response | Returned data | A JSON string containing the data |
Example request:
Request for data (list of records using specified model)
http://<SERVER>/jsonapi/clients.json?user=user&password=user&action=revert&client=1/AMT2A&version=3.3
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Client active flag changed. ",
"warningmessage": "",
"success": true
}