Pending Timesheet

Pendingtimesheet

ParameterTypeDescription
[IN] Parameters described in Overview
CompanyString[IN] The users default company number for the companies list
ActionString[IN] Identifier for the list requested
InputString[IN] Timesheet Entry no context
ResponseXML/JSON[OUT] An XML tree / JSON string containing the list of pending timesheet entries for the resource

Description

Calling the timesheets API with an action of pendingtimesheet retrieves a timesheet entry’s detail.

Return Values

Response – Timesheet detail for the timesheet entry context.

The structure of the response is:

<pendingtimesheets morepages="False" totalpages="1" totalrows="1">
<pendingtimesheet  tspending_uuid="1DA89261D900A349A24C100D7386997C">
<tspending_appnotesresubmit/>
<tspending_approvalnotes/>
<tspending_approvalstatus>W</tspending_approvalstatus>
<tspending_chargecode>1/ADM</tspending_chargecode>
<tspending_complete/>
<tspending_entryno>471</tspending_entryno>
<tspending_hoursnormal>1</tspending_hoursnormal>
<tspending_hoursotime1>1</tspending_hoursotime1>
<tspending_hoursotime2>2</tspending_hoursotime2>
<tspending_investment>false</tspending_investment>
<tspending_jobandphase>1/00000499.001</tspending_jobandphase>
<tspending_materialcode/>
<tspending_matquantity>0</tspending_matquantity>
<tspending_resourcecode>1/USER</tspending_resourcecode>
<tspending_taskdesc/>
<tspending_workdone/>
<chargecodes_description__tspending_chargecode>
Artwork
</chargecodes_description__tspending_chargecode>
<resources_resourcename__tspending_materialcode/>
<resources_resourcename__tspending_resourcecode
Jo Bloggs
</resources_resourcename__tspending_resourcecode>
</pendingtimesheet>

</pendingtimesheets>
{
"errormessage": "",
    "responsecode": 1,
    "pagerows": 0,
    "totalrows": 1,
    "responsestatus": "OK",
    "success": true,
    "responsemessage": "",
    "errorcode": 0,
    "totalpages": 1,
    "pagenumber": 1,
    "data": [
        {
            "tspending_approvalnotes": "",
            "tspending_chargecode": "1/ADM",
            "tspending_appnotesresubmit": "",
            "chargecodes_description__tspending_chargecode": "Artwork",
            "tspending_matquantity": 0,
            "tspending_approvalstatus": "W",
            "tspending_resourcecode": "1/USER",
            "tspending_uuid": "9720868120271B448F02CB79BDBD8B92",
            "tspending_complete": "",
            "tspending_taskdesc": "",
            "tspending_entryno": 471,
            "tspending_materialcode": "",
            "tspending_investment": false,
            "tspending_hoursnormal": 1,
            "resources_resourcename__tspending_materialcode": "",
            "tspending_workdone": "",
            "tspending_hoursotime1": 1,
            "tspending_jobandphase": "1/00000499.001",
            "tspending_hoursotime2": 2,
            "resources_resourcename__tspending_resourcecode": "Jo Bloggs"
        }
	
    ]
}