Lookup Title
Parameter | Description | Example | More info |
---|---|---|---|
API | The API area | clientcontacts.json | |
Action | The action to perform | action=titles | |
Parameters described in overview | user=user&password=user&version=3.3 | ||
company | Client contact to set inactive | company=1 | |
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&version=3.3&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"
}
]
}