List court bookings
List court bookings for an external service.
Path Parameters
External service identifier.
uuidQuery Parameters
Number of items to skip.
00 <= valueMaximum number of items to return.
501 <= value <= 100Filter by court ID.
uuidFilter by external booking ID.
Filter results from this timestamp.
date-timeFilter results until this timestamp.
date-timeFilter by updatedAt from this timestamp.
date-timeFilter by updatedAt until this timestamp.
date-timeFilter by participant user ID.
uuidFilter by participant email.
emailResponse
200Error Responses
invalid_schema
Request validation failed.
invalid_filter_time_range
A filter time range is ordered incorrectly.
invalid_updated_filter_time_range
An updated-at filter range is ordered incorrectly.
missing_api_token
No authentication token provided.
invalid_api_token
Invalid or expired authentication token.
scope_permission_denied
Insufficient permissions for this operation.
external_service_access_denied
Token does not match the requested external service.
curl -X GET "https://dev.wingfield.systems/api/v1/external-services/497f6eca-6276-4993-bfeb-53cbbbba6f08/court-bookings"{
"items": [
{
"externalServiceId": "e8623a0d-39de-4963-9c6c-a25dc38e89c9",
"courtId": "79ae2927-a9bc-46ed-8f9e-079af32b7616",
"externalCourtBookingId": "string",
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"externalUpdatedAt": "2019-08-24T14:15:22Z",
"participants": [
{
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
],
"totalCount": 0
}{
"error": {
"type": "invalid_schema",
"message": "string",
"issues": [
{}
]
}
}{
"error": {
"type": "missing_api_token",
"message": "string"
}
}{
"error": {
"type": "scope_permission_denied",
"message": "string"
}
}