Jobs List

jobslist

Parameter

Type

I/O

Description

IN

Parameters described in Overview

Company

String

IN

The company context

Action

String

IN

Identifier for the list requested

Supplier

String

IN

Identifier for the supplier context

Client

String

IN

Identifier for client context

Response

XML / JSON

OUT

An XML tree / JSON string containing jobs the user has access to

Description

Calling the expenses API with an action of jobslist retrieves a list of clients and associated names.

Return Values

Response – List of jobs

The structure of the response is:

<jobs morepages="False" totalpages="1" totalrows="2">
  <job jobheader_uuid="43FD757FA87F4293B6154D48688E4ACD">
  <jobheader_jobnumber>1/00008816</jobheader_jobnumber>
	<variable_jobnumber__jobheader_jobnumber>8816</variable_jobnumber__jobheader_jobnumber>
  <variable_jobdescription1stline__jobheader_jobnumber>
  	My Exchequer Test
  </variable_jobdescription1stline__jobheader_jobnumber>
  </job>
</jobs>
"errormessage": "",
    "responsecode": 1,
    "pagerows": 0,
    "totalrows": 2,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "",
    "errorcode": 0,
    "totalpages": 1,
    "pagenumber": 1,
    "data": [
{
            "jobheader_uuid": "43FD757FA87F4293B6154D48688E4ACD",
            "jobheader_jobnumber": "1/00008816",
            "variable_jobnumber__jobheader_jobnumber": "8816",
            "variable_jobdescription1stline__jobheader_jobnumber": "My Exchequer Test"
        	},
	{
            "jobheader_uuid": "F6FE8BF624164D0EA17147AD14E74C77",
            "jobheader_jobnumber": "1/00008915",
            "variable_jobnumber__jobheader_jobnumber": "8915",
            "variable_jobdescription1stline__jobheader_jobnumber": "Test RR"
        	}	
    ]