Timer status

Return the timer status

Timer Status

Return status of timers

Parameter

Description

Examples

API

The API area

tspending.json

Action

Timer Status

&action=timerstatus

General

Parameters described in overview

user=user&password=user&version=3.3

Company

The company context

&company=1

input optional: resource

User Code

&resource=1/ME

input optional: date

Date

&date=2018-01-08

Example request:
Request the status of any timers

http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.3&action=timerstatus&company=1

Example response:

{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Timer status returned.",
"warningmessage": "",
"success": true,
"data": [
{
"tspTimerStarted": "0",
"tspTimerExpired": "0"
}
]
}