Basic Auth Scheme

Open APIs use the HTTP basic authentication scheme. This means in every request you need to pass hotel code and authentication key.

End Point URL

https://live.ipms247.com/pmsinterface/pms_connectivity.php

Header

Content-Type: application/json; charset=UTF-8

Prameter

NameData TypeDescriptionExample
HotelCode*IntegerUnique Hotel code1175
AuthCode*StringUnique Authentication code79b2cc29a84bd97daa376a17f8e
RoomType.RoomTypeID*StringUnique Room Type ID1175000000012
RoomType.FromDate*StringFrom date where you want to update inventory2020-04-01

Request 

{
        "Authentication": {
                "HotelCode": 8,
                "AuthCode": "d51c182a5a38cda3041c6e34d680f79b"
          },
          "RoomType": [
                   {
                            "RoomTypeID": "800000000000001",
                            "FromDate": "2020-09-21",
                            "ToDate": "2020-09-22",
                            "Availability": "9"
                  },
                  {
                            "RoomTypeID": "800000000000002",
                            "FromDate": "2020-09-21",
                            "ToDate": "2020-09-22",
                            "Availability": "4"
                  }
        ]
 }

Returns

CodeDescription
200Success
300Authentication fail
400Request Error
5000Internal Error

Success Response

{
        "Success": {
                "SuccessMsg": "Room Inventory Successfully Updated"
        },
        "Errors": {
                "ErrorCode": "0",
                "ErrorMessage": "Success"
        }
}

Error Response

{
        "Errors": {
                "ErrorCode": "301",
                "ErrorMessage": "Unauthorized Request. Please check hotel code and authentication code"
        }
}

Click here to Register