Pending timesheet
Parameter | Description | Examples |
---|---|---|
API | The API area | tspending.json |
Action | The action to perform | action=pendingtimesheet |
Parameters described in overview | user=user&password=user&version=3.3 | |
Company | The company context | company=1 |
tspending | The pending timesheet number (tspEntryNo) | tspending=686 |
Response | Returned data | See below |
Example request:
http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=pendingtimesheet&tspending=686
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"tspUuid": "71E8D950EC3F48DCBAC30C03D768B8BD",
"tspTimeStampModified": 1490360812,
"tspRecordVersionNumber": 11,
"tspApprovalNotesReSubmit": "",
"tspApprovalNotes": "",
"tspApprovalStatus": "W",
"tspChargeCode": "1/MAC",
"tspComplete": "",
"tspEntryNo": 686,
"tspHoursNormal": 0,
"tspHoursOtime1": 0,
"tspHoursOtime2": 0,
"tspJobAndPhase": "1/00000772.001",
"tspMaterialCode": "1/A2CC",
"tspMatQuantity": 1,
"tspResourceCode": "1/USER",
"tspTaskDescription": "",
"tspWorkDone": "",
"tspChargeCodeDescription": "MAC Work",
"tspMatDescription": "A2 Colour Proof",
"tspResourceName": ""
}
]
}