Quick Start

Get Property Info

You can get below details of your property based on the property id(GUID):


Endpoint: https://mdshotelcloud.com/ChannelManager/GetProperty/{propertyId}
Method: GET

Available Property Details
--------------------------
{
    "id": 0,
    "name": "string",
    "vatPercent": 0,
    "zipCode": "string",
    "city": "string",
    "address": "string",
    "phone": "string",
    "fax": "string",
    "vatNumber": "string",
    "administrativeEmail": "string",
    "reservationsEmail": "string",
    "latitude": 0,
    "longitude": 0
}


                                            

Get Room Types By Property

You can get list of room types added by you on Channel Manager based on the property id(GUID):


Endpoint: https://mdshotelcloud.com/ChannelManager/GetRoomTypesByProperty/{propertyId}
Method: GET

Available Room Types
--------------------------
[
    {
    "id": 0,
    "roomTypeName": "string",
    "shortName": "string",
    "shortDescription": "string",
    "services": [
        "string"
    ],
    "images": [
        "string"
    ],
    "primaryImage": "string",
    "bannerImage": "string",
    "description": "string",
    "note": "string",
    "defaultPrice": 0,
    "defaultCurrency": 0,
    "property": 0,
    "defaultAvailableRooms": 0,
    "guests": 0,
    "kids": 0
    }
]


                                            

Get Room Type By Id

You can get room type details added by you on Channel Manager based on the property id(GUID) and Room Type Id(int):


Endpoint: https://mdshotelcloud.com/ChannelManager/GetRoomTypeById/{propertyId}/{roomTypeId}
Method: GET

Available Room Type Details
--------------------------
{
  "id": 0,
  "roomTypeName": "string",
  "shortName": "string",
  "shortDescription": "string",
  "services": [
    "string"
  ],
  "images": [
    "string"
  ],
  "primaryImage": "string",
  "bannerImage": "string",
  "description": "string",
  "note": "string",
  "defaultPrice": 0,
  "defaultCurrency": 0,
  "property": 0,
  "defaultAvailableRooms": 0,
  "guests": 0,
  "kids": 0
}


                                            

Get Room Type By Name

You can get room type details added by you on Channel Manager based on the property id(GUID) and Room Type Name(string):


Endpoint: https://mdshotelcloud.com/ChannelManager/GetRoomTypeByName/{propertyId}/{name}
Method: GET

Available Room Type Details
--------------------------
{
  "id": 0,
  "roomTypeName": "string",
  "shortName": "string",
  "shortDescription": "string",
  "services": [
    "string"
  ],
  "images": [
    "string"
  ],
  "primaryImage": "string",
  "bannerImage": "string",
  "description": "string",
  "note": "string",
  "defaultPrice": 0,
  "defaultCurrency": 0,
  "property": 0,
  "defaultAvailableRooms": 0,
  "guests": 0,
  "kids": 0
}


                                            

Get Room Types By Filter

You can get list of room types based on various available filters with the property id(GUID):


Endpoint: https://mdshotelcloud.com/ChannelManager/GetRoomTypesByProperty/{propertyId}
Method: POST

Model To Post
--------------------------
{
  "checkIn": "2024-09-15T20:03:01.933Z",
  "checkOut": "2024-09-15T20:03:01.933Z",
  "adults": 0,
  "child": 0,
  "room": 0,
  "propertyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Available Room Types
--------------------------
[
    {
    "id": 0,
    "roomTypeName": "string",
    "shortName": "string",
    "shortDescription": "string",
    "services": [
        "string"
    ],
    "images": [
        "string"
    ],
    "primaryImage": "string",
    "bannerImage": "string",
    "description": "string",
    "note": "string",
    "defaultPrice": 0,
    "defaultCurrency": 0,
    "property": 0,
    "defaultAvailableRooms": 0,
    "guests": 0,
    "kids": 0
    }
]


                                            

Book A Room

You can book a room by passing details in the given Model. Please NOTE that all fields are required. All these can be find out from Channel Manager platform.:


Endpoint: https://mdshotelcloud.com/ChannelManager/BookNow
Method: POST

Model To Post
--------------------------
{
  "propertyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "roomTypeId": 0,
  "name": "string",
  "emailId": "string",
  "checkIn": "2024-09-18T09:40:06.262Z",
  "checkOut": "2024-09-18T09:40:06.262Z",
  "adults": 0,
  "kids": 0,
  "room": 0,
  "contact": "string",
  "roomShortName": "string",
  "bookingRefNo": "string",
  "defaultPrice": 0
}

Response Details
--------------------------
StatusCode: 201


                                            

Update Booking Status

You can update status of a booking by passing required details in the given Model. Please NOTE that all fields are required. All these can be find out from Channel Manager platform.:


Endpoint: https://mdshotelcloud.com/ChannelManager/UpdateBookingStatus
Method: POST

Model To Post
--------------------------
{
  "bookingRef": "string",
  "status": 0,
  "paymentRef": "string",
  "totalPaid": 0
}