Timerelapsednormal
Parameter | Type | Description |
---|---|---|
[IN] Parameters described in Overview | ||
Action | String | [IN] Identifier for the list requested |
Input | String | [IN] timesheet entry number |
Response | XML/JSON | [OUT] An XML tree / JSON string containing the success or error response |
Description
Calling the timesheets API with an action of timerelapsednormal retrieves a response containing the current elapsed time for a normal timer.
Replace "normal" with "ot1" or "ot2" to access the overtime timers instead.
Return Values
Response – Success or error response.
The structure of the response is:
<Responses>
<Success>
<SuccessText/>
<Data>
<tspending_uuid>20F81B453990424F94BE6EBA12395BD9</tspending_uuid>
</Data>
<Data>
<tspending_entryno>466</tspending_entryno>
</Data>
<Data>
<variable_timesheettimerelapsednormal__tspending_entryno>
10
</variable_timesheettimerelapsednormal__tspending_entryno>
</Data>
</Success>
</Responses>
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"totalrows": 1,
"totalpages": 1,
"responsemessage": "",
"pagerows": 0,
"pagenumber": 1,
"success": true,
"data": [
{
"tspending_uuid": "7C6F227744D11142958A7ED7D43FE0A5",
"tspending_entryno": 466,
"variable_timesheettimerelapsednormal__tspending_entryno": 18
}
]
}