Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | clientcontacts.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=titles |
Example request:
http://<SERVER>/jsonapi/clients.json?user=user&password=user&version=3.9&action=titles&company=1
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 6,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"varTitle": "Mr"
},
{
"varTitle": "Mrs"
},
{
"varTitle": "Miss"
},
{
"varTitle": "Ms"
},
{
"varTitle": "Dr"
},
{
"varTitle": "Prof"
}
]
}