Client contact lookup

An activity record can have an optional client contact. This API lists valid client contacts.

Client contacts lookup

Example request:

ParameterDescriptionExamples
ActionDefines the the API callaction=clientcontacts
Parameters described in overview
ClientSpecify the client codeclient=1/ada0001
CompanySpecify the company (data-set)company=1

http:///jsonapi/activities.json?user=user&password=user&company=1&action=clientcontacts&client=1/ada0001&version=3.1

Example response

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 2,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "clientcontactInternalRef": 6841,
      "clientcontactFullName": "James Smith-",
      "variable_selected": true
    },
    {
      "clientcontactInternalRef": 6821,
      "clientcontactFullName": "Harry Hill",
      "variable_selected": false
    }
  ]
}