GET api/BookingSubtypes
Gets the list of different possible booking subtypes.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Returns the list of booking subtypes (code and name)
Collection of BookingSubtypeName | Description | Type | Additional information |
---|---|---|---|
Code |
Gets or sets the code that can be used to identify the subtype. |
string |
None. |
Name |
Gets or sets the friendly name of the subtype. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "code": "Demand", "name": "Demand Response Request" }, { "code": "Subscr", "name": "Registered Subscription" }, { "code": "WillCall", "name": "Will Call" } ]
application/xml, text/xml
Sample:
<ArrayOfBookingSubtype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <BookingSubtype> <Code>Demand</Code> <Name>Demand Response Request</Name> </BookingSubtype> <BookingSubtype> <Code>Subscr</Code> <Name>Registered Subscription</Name> </BookingSubtype> <BookingSubtype> <Code>WillCall</Code> <Name>Will Call</Name> </BookingSubtype> </ArrayOfBookingSubtype>