List of jobs with currency code and rate
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | purchases.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=jobslist |
Example request:
http://<SERVER>/jsonapi/purchases.json?user=user&password=user&version=3.8&action=jobslist&company=1
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1395,
"totalpages": 1395,
"responsemessage": "",
"pagerows": 1,
"pagenumber": 1,
"success": true,
"data": [
{
"jobUuid": "622AF2431CE74F5A931D9629D4F6CFE1",
"jobTimeStampModified": 1515754101,
"jobRecommendedVersionNumber": 1569,
"jobDescription1stLine": "Wizzy Wizzy line 1",
"jobCustomField185": "",
"jobCustomField202": "Item 2",
"jobCustomField208": "2013-09-30",
"jobCustomField216": 2,
"jobCustomField217": false,
"jobCustomField218": "3",
"jobCustomField231": 4,
"jobCustomField232": 1,
"jobCustomField236": "",
"jobCustomField238": "Item 2",
"jobCustomField257": "",
"jobCustomField258": "",
"jobCustomField290": "0000-00-00",
"jobThermProgress": "39%",
"jobThermValue": 30,
"jobThermWhitePoint": 110,
"jobOrderNumber": "2222",
"jobContactFullName": "nice contact just ad smith",
"jobHandlerFullName": "Mike Pender",
"jobClientCode": "1/BLOGGS",
"jobClientName": "Barclaycard Merchant 3",
"jobCompleted": false,
"jobDateIn": "2006-01-03",
"jobDateDue": "2015-03-31",
"jobNumber": "1/00000051",
"jobNumberSimple": "51",
"jobStatus": 2,
"jobStatusDescription": "Live",
"jobJobtypeDescription": "Date test",
"jobPriorityDescription": "Special",
"jobCurrencyCode": "",
"jobExchangeRate": 1
}
]
}