GET v{version}/playbookingtype
Retrieves all play booking types available in the system.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PlayBookingTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingTypeId | integer |
None. |
|
| Name | string |
None. |
|
| Type | BookingV2TypeType |
None. |
|
| IsActive | boolean |
None. |
|
| Color | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BookingTypeId": 1,
"Name": "sample string 2",
"Type": 1,
"IsActive": true,
"Color": "sample string 4"
},
{
"BookingTypeId": 1,
"Name": "sample string 2",
"Type": 1,
"IsActive": true,
"Color": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfPlayBookingTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpeedadminApi.ViewModels">
<PlayBookingTypeViewModel>
<BookingTypeId>1</BookingTypeId>
<Color>sample string 4</Color>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<Type>Tuition</Type>
</PlayBookingTypeViewModel>
<PlayBookingTypeViewModel>
<BookingTypeId>1</BookingTypeId>
<Color>sample string 4</Color>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<Type>Tuition</Type>
</PlayBookingTypeViewModel>
</ArrayOfPlayBookingTypeViewModel>