Get court by ID
Retrieve details for a single court, including mapping for the authenticated external service.
Path Parameters
Court ID (UUID).
uuidResponse
200Error Responses
invalid_schema
Request validation failed.
missing_api_token
No authentication token provided.
invalid_api_token
Invalid or expired authentication token.
scope_permission_denied
Insufficient permissions for this operation.
organization_access_denied
Service is not granted access to the organization.
court_not_found
Court was not found.
curl -X GET "https://dev.wingfield.systems/api/v1/courts/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"facilityId": "d7244f5b-52c1-4d27-b4f5-43b1113fc304",
"facilityName": "string",
"systemInstalled": true,
"mapping": {
"externalCourtId": "string",
"externalCourtName": "string",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"error": {
"type": "invalid_schema",
"message": "string",
"issues": [
{}
]
}
}{
"error": {
"type": "missing_api_token",
"message": "string"
}
}{
"error": {
"type": "scope_permission_denied",
"message": "string"
}
}{
"error": {
"type": "court_not_found",
"message": "string"
}
}Delete court booking DELETE
Delete a booking by external booking id. After successful delete, the booking is no longer returned by booking read/list endpoints. Notes: - Missing booking returns `200 {}`. - Older `externalUpdatedAt` returns `409 stale_write`. - Same/newer delete remains idempotent (`200 {}`).
Get court mapping GET
Retrieve the mapping for a specific court in a specific external service scope.