timesheet
Parameter | Type |
---|---|
style | String |
modelstructure | String |
datefrom | Date |
dateto | Date |
Response | XML / JSON |
Description
Calling the diary API with an action of timesheet retrieves a list containing timesheet bookings against diary job allocations.
units available for allocation = <arraydiaryunitstspendingentryno>
units already allocated = <arrayexistingunitstspendingentryno>
Return Values
Response – List of timesheet bookings.
The structure of the response is:
<calendartimesheets morepages="False" totalpages="1" totalrows="3">
<calendartimesheet>
<array_allowed__tspending_entryno>true</array_allowed__tspending_entryno>
<tspending_chargecode>1/PLAN</tspending_chargecode>
<chargecodes_description__tspending_chargecode>Planning</chargecodes_description__tspending_chargecode>
<clients_clientname__tspending_entryno>Bassy Brewers</clients_clientname__tspending_entryno>
<array_company__tspending_entryno>1</array_company__tspending_entryno>
<tspending_timedate>2015-01-07</tspending_timedate>
<array_diaryunits__tspending_entryno>3</array_diaryunits__tspending_entryno>
<array_existingunits__tspending_entryno>0</array_existingunits__tspending_entryno>
<array_jobdescription1stline__tspending_jobandphase>job desc &#x00A3;899</array_jobdescription1stline__tspending_jobandphase>
<tspending_jobandphase>1/00000539.005</tspending_jobandphase>
<array_phasedescription1stline__tspending_jobandphase>job desc &#x00A3;899</array_phasedescription1stline__tspending_jobandphase>
<jobphase_jobphasenumbersimple__tspending_jobandphase>539.005</jobphase_jobphasenumbersimple__tspending_jobandphase>
<tspending_resourcecode>1/JB</tspending_resourcecode>
<tspending_taskdesc/>
<tspending_hoursnormal>0</tspending_hoursnormal>
<tspending_workdone/>
<tspending_workflowcode/>
<workflow_workflowdescription__tspending_workflowcode/>
</calendartimesheet>
</calendartimesheets>
{
"array_allowed__tspending_entryno": true,
"tspending_chargecode": "1/PLAN",
"chargecodes_description__tspending_chargecode": "Planning",
"clients_clientname__tspending_entryno": "Bassy Brewers",
"array_company__tspending_entryno": 1,
"tspending_timedate": "2015-01-07",
"array_diaryunits__tspending_entryno": 3,
"array_existingunits__tspending_entryno": 1.25,
"array_jobdescription1stline__tspending_jobandphase": "job desc £899",
"tspending_jobandphase": "1/00000539.005",
"array_phasedescription1stline__tspending_jobandphase": "job desc £899",
"jobphase_jobphasenumbersimple__tspending_jobandphase": "539.005",
"tspending_resourcecode": "1/JB",
"tspending_taskdesc": "",
"tspending_hoursnormal": 0,
"tspending_workdone": "",
"tspending_workflowcode": "",
"workflow_workflowdescription__tspending_workflowcode": ""
}