GET v{version}/playbooking/{id}
Retrieves the details of a play booking with the specified identifier.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
PlayBookingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingId | integer |
None. |
|
| BookingTypeId | integer |
None. |
|
| BookingTypeType | integer |
None. |
|
| SchoolName | string |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| IsEnsemble | boolean |
None. |
|
| CourseName | string |
None. |
|
| BookingTypeColor | string |
None. |
|
| NextTimeSlotDate | date |
None. |
|
| Attributes | Collection of IAttribute |
None. |
|
| TeacherAndRoomOnNextTimeSlot | Collection of PlayBookingTimeSlotViewModel |
None. |
|
| TimeSlots | Collection of PlayBookingDatesViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"BookingId": 1,
"BookingTypeId": 2,
"BookingTypeType": 3,
"SchoolName": "sample string 4",
"Title": "sample string 5",
"Description": "sample string 6",
"IsEnsemble": true,
"CourseName": "sample string 8",
"BookingTypeColor": "sample string 9",
"NextTimeSlotDate": "2026-03-10T23:12:29.6475427+01:00",
"Attributes": null,
"TeacherAndRoomOnNextTimeSlot": [
{
"MasterResourceId": 1,
"Name": "sample string 2",
"Role": "sample string 3"
},
{
"MasterResourceId": 1,
"Name": "sample string 2",
"Role": "sample string 3"
}
],
"TimeSlots": [
{
"BookingDate": "2026-03-10T23:12:29.6475427+01:00",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567"
},
{
"BookingDate": "2026-03-10T23:12:29.6475427+01:00",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567"
}
]
}
application/xml, text/xml
Sample:
<PlayBookingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpeedadminApi.ViewModels">
<BookingId>1</BookingId>
<BookingTypeColor>sample string 9</BookingTypeColor>
<BookingTypeId>2</BookingTypeId>
<BookingTypeType>3</BookingTypeType>
<CourseName>sample string 8</CourseName>
<Description>sample string 6</Description>
<IsEnsemble>true</IsEnsemble>
<NextTimeSlotDate>2026-03-10T23:12:29.6475427+01:00</NextTimeSlotDate>
<SchoolName>sample string 4</SchoolName>
<TeacherAndRoomOnNextTimeSlot>
<PlayBookingTimeSlotViewModel>
<MasterResourceId>1</MasterResourceId>
<Name>sample string 2</Name>
<Role>sample string 3</Role>
</PlayBookingTimeSlotViewModel>
<PlayBookingTimeSlotViewModel>
<MasterResourceId>1</MasterResourceId>
<Name>sample string 2</Name>
<Role>sample string 3</Role>
</PlayBookingTimeSlotViewModel>
</TeacherAndRoomOnNextTimeSlot>
<TimeSlots>
<PlayBookingDatesViewModel>
<BookingDate>2026-03-10T23:12:29.6475427+01:00</BookingDate>
<EndTime>PT0.1234567S</EndTime>
<StartTime>PT0.1234567S</StartTime>
</PlayBookingDatesViewModel>
<PlayBookingDatesViewModel>
<BookingDate>2026-03-10T23:12:29.6475427+01:00</BookingDate>
<EndTime>PT0.1234567S</EndTime>
<StartTime>PT0.1234567S</StartTime>
</PlayBookingDatesViewModel>
</TimeSlots>
<Title>sample string 5</Title>
</PlayBookingViewModel>