Requests to list jobs.
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | expenselines.json | |
General | Yes | Parameters described in overview | user=user&password=user | 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/expenselines.json?user=user&password=user&version=3.9&company=1&action=jobslist
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1065,
"totalpages": 533,
"responsemessage": "",
"pagerows": 2,
"pagenumber": 1,
"success": true,
"data": [
{
"jobUuid": "EC81487FEAA04F9589FA7D9F9143822A",
"jobTimeStampModified": 1517498850,
"jobRecommendedVersionNumber": 104,
"jobDescription1stLine": "Here is the first line of the job description",
"jobNumber": "1/00000802",
"jobNumberSimple": "802"
},
{
"jobUuid": "15362AE5B403452E8672B5EA71113A87",
"jobTimeStampModified": 1489080036,
"jobRecommendedVersionNumber": 62,
"jobDescription1stLine": "Test Global Description at Company level",
"jobNumber": "1/00000801",
"jobNumberSimple": "801"
}
]
}