TimePasses
Run command for TimePasses
Execute a command on one or more TimePass records.
POST
Run command for TimePasses
Executes a command on one or more TimePass records. Use the Commands endpoint to discover available commands and their required parameters.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the TimePass-Update role.Request Body
string
required
The command key to execute. Obtain available keys from the Commands endpoint.
integer[]
required
List of TimePass record Ids to execute the command on.
object[]
If the command requires parameters, provide them as an array of objects with
Name and Value fields.Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the command was executed.
object
Contains details about the command execution result.
boolean
true if the command was executed successfully.array
null on success.Example Response
Run command for TimePasses