promote a lead or prospect
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | clients.json | |
General | Yes | Parameters described in overview | user=user&password=user&version=3.9 | Overview |
Action | Yes | The action to perform | action=promote | |
Identifier | Yes | Client ID or UUID | client=1/P0909 |
This endpoint can be used to promote a lead to a prospect, or a prospect to a client.
Example request:
http://<SERVER>/jsonapi/clients.json?user=user&password=user&version=3.9&action=promote&client=1/P0909
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Organization promoted. ",
"warningmessage": "",
"success": true
}