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 |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=statusgrades |
Example request:
http://<SERVER>/jsonapi/clients.json?user=user&password=user&version=3.9&company=1&action=statusgrades
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 4,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"lookupOpStatusGrade": "Bronze",
"variable_selected": false
},
{
"lookupOpStatusGrade": "Silver",
"variable_selected": false
},
{
"lookupOpStatusGrade": "Gold",
"variable_selected": false
},
{
"lookupOpStatusGrade": "Platinum",
"variable_selected": false
}
]
}