Returns the status of timers.
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | tspending.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Company | Yes | The company number | company=1 | |
Date | Yes | Date | date=2019-07-23 | |
Resource | Yes | Resource code | resource=1/ME | |
Action | Yes | The action to perform | action=timerstatus |
Example request:
http://<SERVER>/jsonapi/tspending.json?user=user&password=user&version=3.9&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"
}
]
}