Job Client Contact

Job client contacts lookup list

Job Client Contact

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areajobs.json
GeneralYesParameters described in overviewAuthorization: Bearer <access_token> header — see Synergist API AuthenticationStructure of an API call
CompanyYesThe company numbercompany=1
ActionYesThe action to performaction=contacts
ClientYesClient codeclient=8/1244

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/jobs.json?company=8&version=6&client=8/1244&&action=contacts

Example request (legacy username/password):

http://<SERVER>/jsonapi/jobs.json?company=8&version=6&client=8/1244&&action=contacts&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 2,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "clientcontactInternalRef": 8600,
      "clientcontactFullName": "James Janson",
      "variable_selected": false
    }
  ]
}