Timer Status

Returns the status of timers.

Timer Status

ParameterMandatoryDescriptionExamplesMore Info
APIYesThe API areatspending.json
GeneralYesParameters described in overviewsee overviewStructure of an API call
CompanyYesThe company numbercompany=1
DateYesDatedate=2019-07-23
ResourceYesResource coderesource=1/ME
ActionYesThe action to performaction=timerstatus

Example request (OAuth 2.0):

Authorization: Bearer <access_token>
http://<SERVER>/jsonapi/tspending.json?&version=6&action=timerstatus&company=1

Example request (legacy username/password):

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

Example response:

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