Skip to navigation

Update Schedule

Update a schedule by its ID.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

connection_idstringRequiredformat: "uuid"
schedule_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
statusenum or nullOptional

Update the status of the schedule (ACTIVE, INACTIVE).

execution_interval_secondsinteger or nullOptional
Update the interval between scheduled executions in seconds.
consecutive_error_thresholdinteger or nullOptional
Update the number of consecutive errors allowed before the schedule is automatically set to INACTIVE.
consecutive_error_countinteger or nullOptional
Reset or update the consecutive error count for this schedule.
max_concurrent_executionsinteger or nullOptional
Update the maximum number of concurrent executions allowed for this schedule.
next_execution_atdatetime or nullOptional
Update the timestamp for the next scheduled execution.
cursorstring or nullOptional

Update the resource-specific state used to resume incremental fetching.

last_data_atdatetime or nullOptional
Update the timestamp of the most recent data point received from the TSP.
fetch_window_end_atdatetime or nullOptional
Update the end timestamp of the last fetch window.

Response

Successful Response
idstringformat: "uuid"
Unique identifier for the schedule.
connection_idstringformat: "uuid"
The ID of the connection that this schedule belongs to.
resourceenum

The type of resource being fetched on this schedule (e.g., VEHICLE, DRIVER, HOS, IFTA).

execution_interval_secondsinteger
The interval between scheduled executions in seconds.
statusenum

The current status of the schedule (ACTIVE, INACTIVE).

consecutive_error_countinteger
The number of consecutive errors that have occurred for this schedule.
consecutive_error_thresholdinteger
The number of consecutive errors allowed before the schedule is automatically set to INACTIVE.
max_concurrent_executionsinteger
The maximum number of concurrent executions allowed for this schedule.
cursorstring or nullOptional

Resource-specific state used to resume incremental fetching.

last_data_atdatetime or nullOptional
Timestamp of the most recent data point received from the TSP.
fetch_window_end_atdatetime or nullOptional
End timestamp of the last fetch window. Used by chunked adapters to advance backfills across executions.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
504
Gateway Timeout Error