Get All Carpool Booking Rules
GET/carpool/rules
Returns the booking rules of the account that can be changed through
PATCH /carpool/rules/{booking_rule_id}, each combining the rule's default
with the account's own setting. A rule the API cannot change is not
returned, and neither is a deleted rule. The list is small, so it is not
paginated.
Subusers may call this read.
Responses
- 200
- 401
- 403
- 429
- 500
- 503
The account's booking rules.
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource, or the account is not currently active.
Too Many Requests - the endpoint's rate limit has been exceeded. Retry after the number of seconds in the Retry-After header.
Response Headers
Seconds to wait before retrying. The same value as X-RateLimit-Retry-After-Seconds when that wait is non-negative. If the computed wait is negative, Retry-After is floored at 0.
Unix timestamp of the next earliest successful request.
Seconds until the next earliest successful request.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.