The following macros are not currently supported in the header:
- style
Update Timer
UNDER DEVELOPMENT
Service Application Warning
Timer endpoints all operate from the current user and because of this are not available to service applications. If this restriction impacts your business model, please contact support and we will consider opening certain timer access up to service applications by requiring a staff id.
Update a timer identified by its id.
[PUT|POST] /timers/:id
Parameters
Table of allowed parameters. Required fields are underlined.
subject | String | Textual description assigned to the timer as a "subject" |
---|---|---|
against_id | Integer | The id of the object the timer exists against. This must point to a valid object. |
against_type | String | The type of object the timer exists against. This must point to a valid object. |
seconds | Integer | Total time in seconds of the timer. Defaults to be unchanged. NOTE: This field can only be updated for a stopped timer. |
Handling the response
Please see the get timer for controlling the response.