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=countries |
Example request:
http://<SERVER>/jsonapi/clients.json?user=user&password=user&version=3.9&action=countries&company=1
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 13,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"countryCode": "",
"countryName": "- Blank -",
"variable_selected": true,
"countryTimezoneCode": ""
},
{
"countryCode": "AU",
"countryName": "Australia",
"variable_selected": false,
"countryTimezoneCode": "UTC+10:00A"
}
]
}