Recent Job List

Recentjoblist

ParameterTypeDescription
[IN] Parameters described in Overview
CompanyString[IN] The users default company number for the companies list
ActionString[IN] Identifier for the list requested
ResourceString[IN] Identifier for the resource context
ResponseXML/JSON[OUT] An JSON string containing the list of recent jobs for the resource

Description

Calling the timesheets API with an action of recentjobslist retrieves a list of the most recent jobs used to create timesheets.

The structure of the response is:

<jobs morepages="False" totalpages="1" totalrows="1">
<job jobheader_uuid="EB53BC9B01C34103BFC1A355A41EEEA8">
<jobheader_clientcode>1/BASS</jobheader_clientcode>
<jobheader_jobnumber>1/00000800</jobheader_jobnumber>
<variable_jobnumber__jobheader_jobnumber>800
</variable_jobnumber__jobheader_jobnumber>
<clients_clientname__jobheader_clientcode>
Bass Brewers
</clients_clientname__jobheader_clientcode>
<variable_jobdescription1stline__jobheader_jobnumber>
Test Global Description at Company level
</variable_jobdescription1stline__jobheader_jobnumber>
</job>
</jobs>
{
    "responsecode": 1,
    "responsestatus": "OK",
    "errorcode": 0,
    "errormessage": "",
    "totalrows": 1,
    "totalpages": 1,
    "responsemessage": "",
    "pagerows": 0,
    "pagenumber": 1,
    "success": true,
    "data": [
         {
            "jobheader_uuid": "EB53BC9B01C34103BFC1A355A41EEEA8",
            "jobheader_clientcode": "1/BASS",
            "jobheader_jobnumber": "1/00000800",
            "variable_jobnumber__jobheader_jobnumber": "800",
            "clients_clientname__jobheader_clientcode": "Bass Brewers",
            "variable_jobdescription1stline__jobheader_jobnumber": "Test Global Description at Company level"
        }    ]
}