Get All Carpool Locations
GET/carpool/locations
Retrieve the paginated list of active site locations under the authenticated client. Use site_location_id as the pickup_site_location_id of POST /carpool/bookings. A booking is refused for a location that has no vehicle based at it.
Request
Responses
- 200
- 401
- 403
- 422
- 429
- 500
- 503
A paginated list of active site locations.
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.
Validation failed for the input parameters.
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.