Job Team List

Teams lookup list

Job Team List

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=teams
JobNoJob numberjob=1/00008772

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://&lt;SERVER&gt;/jsonapi/jobs.json?company=1&version=6&job=1/00008772&&action=teams

Example request (legacy username/password):

http://&lt;SERVER&gt;/jsonapi/jobs.json?company=1&version=6&job=1/00008772&&action=teams&user=<username>&password=<password>

Example response:

{
  "responsecode": 1,
  "responsestatus": "OK",
  "errorcode": 0,
  "errormessage": "",
  "totalrows": 12,
  "totalpages": 1,
  "responsemessage": "",
  "pagerows": 0,
  "pagenumber": 1,
  "success": true,
  "data": [
    {
      "teamCode": "",
      "teamDescription": "- Blank -",
      "variable_selected": false
    },
    {
      "teamCode": "1/DQS",
      "teamDescription": "David's Team",
      "variable_selected": false
    }
  ]
}