Job types lookup list
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 |
Company | Yes | The company number | company=1 | |
Action | Yes | The action to perform | action=jobtypes | |
Job | No | Job number | job=1/00008772 |
Example request:
http://<SERVER>/jsonapi/jobs.json?company=1&version=3.9&job=1/00008772&user=user&password=user&action=jobtypes
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 26,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"JobtypeCode": "",
"JobtypeDescription": "- Blank -",
"variable_selected": false
},
{
"JobtypeCode": "1/CB",
"JobtypeDescription": "Brochure",
"variable_selected": false
},
etc. etc .