Job types lookup list
Jobtype list
Select a job type to allocate to a job
Parameter | Description | Examples | More info |
---|---|---|---|
Action | Get a list of job types for a job | action=jobtypes | |
General | Parameters described in overview | user=user&password=user | |
Company | Company number | company=1 | |
Job (optional) | Job number | job=1/00008772 |
Example request:
Note: by passing job number the list will be filtered to include either internal or external job types depending on type of client / job status
http://<SERVER>/jsonapi/jobs.json?company=1&version=3.3&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 .