GET v{version}/playbookingtype/{id}

Retrieves the booking type details for the specified identifier.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

PlayBookingTypeViewModel
NameDescriptionTypeAdditional 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"
}

application/xml, text/xml

Sample:
<PlayBookingTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpeedadminApi.ViewModels">
  <BookingTypeId>1</BookingTypeId>
  <Color>sample string 4</Color>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <Type>Tuition</Type>
</PlayBookingTypeViewModel>