Timer Stop

Timerstopnormal

ParameterTypeDescription
[IN] Parameters described in Overview
ActionString[IN] Identifier for the list requested
InputString[IN] timesheet entry number
ResponseXML/JSON[OUT] An XML tree / JSON string containing the success or error response

Description

Calling the timesheets API with an action of timerstopnormal stops a paused timer for the timesheet entry no and retrieves a response containing the entry no for the timer stopped, the current timer status for that entry no, the elapsed time (seconds) for the stopped 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_timesheettimerstatusnormal__tspending_entryno>
ALLOWED
</variable_timesheettimerstatusnormal__tspending_entryno>
</Data>
<Data>
<tspending_hoursnormal>9.25</tspending_hoursnormal>
</Data>
<Data>
<variable_timesheettimerelapsednormal__tspending_entryno>
0
</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,
            "tspending_hoursnormal": 1.25,
            "variable_timesheettimerelapsednormal__tspending_entryno": 0,
            "variable_timesheettimerstatusnormal__tspending_entryno": "ALLOWED"
        }
    ]
}