4.24. Get Bed Types
GET /cm/codes/bed-types
Description
Get a list of supported bed types
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
Success |
|
500 |
Internal server error |
Consumes
-
application/xml
Produces
-
application/xml
Tags
-
CodeLists
Example HTTP request
Request path
/cm/codes/bed-types
Example HTTP response
Response 200
<?xml version="1.0" encoding="UTF-8"?>
<BedTypes>
<BedType Code="1" Name="Single Bed"/>
</BedTypes>
Response 500
<?xml version="1.0" encoding="UTF-8"?>
<ErrorResponse CorrelationID="8b417d6a-f3df-4d65-870c-240378b8ad3e" Endpoint="RoomAmenities">
<Errors>
<Error Code="321" ShortText="Required field missing" Status="NotProcessed"/>
</Errors>
<Warnings>
<Warning Code="123" ShortText="Please try again in a few minutes" Status="Incomplete"/>
</Warnings>
</ErrorResponse>
