Job client contacts lookup list
Job client contact list
List contacts for a specific client
<th>
Description
</th>
<th>
Example
</th>
<th>
More info
</th>
</tr>
<td>
The API area
</td>
<td>
jobs.json
</td>
</tr>
<tr>
<td>
Action
</td>
<td>
Contacts
</td>
<td>
action=contacts
</td>
</tr>
<tr>
<td>
<General />
</td>
<td>
Parameters described in overview
</td>
<td>
user=user\&password=user
</td>
<td>
[v3.3 Overview](ref:v30xxx-overview)
</td>
</tr>
<tr>
<td>
Company
</td>
<td>
Company number
</td>
<td>
company=1
</td>
</tr>
<tr>
<td>
Client
</td>
<td>
Client code
</td>
<td>
client=8/1244
</td>
</tr>
<tr>
<td>
Response
</td>
<td>
Returned data
</td>
<td>
A JSON string containing the data
</td>
</tr>
Parameter |
---|
API |
Example request:
http://<SERVER>/jsonapi/jobs.json?company=8&version=3.3&client=8/1244&user=user&password=user&action=contacts
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
}
]
}