Returns one or more job records
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | jobs.json | |
General | Yes | Parameters described in overview | user=user&password=user | Structure of an API call |
Model Structure | Yes | Name of model required | modelstructure=jobslist | Using data models |
View | No | Stored filter applied | Using views | |
Sort | No | Change the view's default sort order | sort=CLIENT | Sorting |
Filters | No | Filter by a key field | Filters | |
Company | Yes | The company number | company=1 |
Example request:
http://<SERVER>/jsonapi/jobs.json?company=1&version=3.9&user=user&password=user&company=1&modelstructure=jobslist&view=-1303&rows=2&page=1
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 405,
"totalpages": 203,
"responsemessage": "",
"pagerows": 2,
"pagenumber": 1,
"success": true,
"data": [
{
"jobUuid": "504EB2C781EA457D8D54B65E26CF739F",
"jobTimeStampModified": 1519131664,
"jobRecommendedVersionNumber": 236,
"jobDescription1stLine": "Web site",
"jobCustomField185": "",
"jobCustomField290": "0000-00-00",
"jobThermProgress": "",
"jobThermValue": 0,
"jobThermWhitePoint": 110,
"jobOrderNumber": "1",
"jobContactFullName": "",
"jobHandlerFullName": "",
"jobClientCode": "1/MULTI",
"jobClientName": "Multi Store",
"jobCompleted": false,
"jobDateIn": "2004-03-02",
"jobDateDue": "2004-03-02",
"jobNumber": "1/00SCP974",
"jobNumberSimple": "SCP974",
"jobStatus": 2,
"jobStatusDescription": "Live",
"jobJobtypeDescription": "",
"jobPriorityDescription": "",
"jobCurrencyCode": "1/DOL",
"jobExchangeRate": 1.5
},
etc. etc.
{