POST hotel/update

Request Information

URI Parameters

None.

Body Parameters

HotelUpdateRequest
NameDescriptionTypeAdditional information
hotel

Hotel

None.

sessionId

string

None.

ipAddress

string

None.

userAgent

string

None.

isMember

boolean

None.

loggingId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "hotel": {
    "hotelId": 1,
    "hotelCode": "sample string 2",
    "mapHotelCode": "sample string 3",
    "hotelScore": 4,
    "hotelName": "sample string 5",
    "supplierCode": "sample string 7",
    "supplierLogo": "sample string 8",
    "locationName": "sample string 9",
    "cityCode": "sample string 11",
    "mapCityCode": "sample string 12",
    "supplierCityCode": "sample string 13",
    "cityName": "sample string 14",
    "countryCode": "sample string 16",
    "supplierCountryCode": "sample string 17",
    "countryName": "sample string 19",
    "roomCount": 20,
    "address1": "sample string 21",
    "address2": "sample string 22",
    "address3": "sample string 23",
    "postalCode": "sample string 24",
    "telephone": "sample string 27",
    "facsimile": "sample string 28",
    "email": "sample string 29",
    "website": "sample string 30",
    "description": "sample string 31",
    "longDescription": "sample string 32",
    "facility": [
      {
        "facility_name": "sample string 1",
        "type": "sample string 2",
        "subtype": "sample string 3",
        "category": "sample string 4",
        "extraFee": true
      },
      {
        "facility_name": "sample string 1",
        "type": "sample string 2",
        "subtype": "sample string 3",
        "category": "sample string 4",
        "extraFee": true
      }
    ],
    "rating": 33.1,
    "categoryDescription": "sample string 34",
    "currency": "sample string 36",
    "marketName": "sample string 37",
    "internalCode": "sample string 38",
    "roomsCategory": [
      {
        "code": "sample string 1",
        "name": "sample string 2",
        "rateType": "sample string 3",
        "isRefundable": true,
        "description": "sample string 5",
        "totalDiscount": 6.0,
        "totalNightPrice": 7.0,
        "netPrice": 8.0,
        "grossPrice": 9.0,
        "newPrice": 10.0,
        "commPrice": 11.0,
        "totalAdditionalFee": 12.0,
        "currency": "sample string 13",
        "bfType": "sample string 14",
        "bfTypeName": "sample string 15",
        "roomType": {
          "sequence": 1,
          "serviceNo": "sample string 2",
          "typeCode": "sample string 3",
          "typeName": "sample string 4",
          "typeDescription": "sample string 5",
          "reqBedChild": true,
          "roomCount": 7,
          "maxOccupancy": 8,
          "adultCount": 9,
          "childCount": 10,
          "totalPrice": 11.0,
          "totalDiscount": 12.0,
          "avgNightPrice": 13.0,
          "totalNightPrice": 14.0,
          "nettPrice": 15.0,
          "commPrice": 16.0,
          "agentCommission": 17.0,
          "grossPrice": 18.0,
          "rate": [
            {
              "offset": 1,
              "nightPrice": 2.0,
              "roomRate": [
                {
                  "no": 1,
                  "adultCount": 2,
                  "childCount": 3,
                  "childAge1": 4,
                  "childAge2": 5,
                  "roomPrice": 6.0,
                  "discount": 7.0,
                  "minstayPrice": 8.0,
                  "compulsoryPrice": 9.0,
                  "supplementPrice": 10.0,
                  "promotionBfPrice": 11.0,
                  "earlyBirdDiscount": 12.0,
                  "commissionPrice": 13.0,
                  "sRoomType": "sample string 14"
                },
                {
                  "no": 1,
                  "adultCount": 2,
                  "childCount": 3,
                  "childAge1": 4,
                  "childAge2": 5,
                  "roomPrice": 6.0,
                  "discount": 7.0,
                  "minstayPrice": 8.0,
                  "compulsoryPrice": 9.0,
                  "supplementPrice": 10.0,
                  "promotionBfPrice": 11.0,
                  "earlyBirdDiscount": 12.0,
                  "commissionPrice": 13.0,
                  "sRoomType": "sample string 14"
                }
              ],
              "roomRateInfo": {
                "childMinAge": 1,
                "childMaxAge": 2,
                "minStayDay": 3,
                "minStayType": "sample string 4",
                "minStayRate": 5.0,
                "promotionName": "sample string 6",
                "promotionValue": true,
                "promotionAmount": 8.0,
                "promoCode": "sample string 9"
              }
            },
            {
              "offset": 1,
              "nightPrice": 2.0,
              "roomRate": [
                {
                  "no": 1,
                  "adultCount": 2,
                  "childCount": 3,
                  "childAge1": 4,
                  "childAge2": 5,
                  "roomPrice": 6.0,
                  "discount": 7.0,
                  "minstayPrice": 8.0,
                  "compulsoryPrice": 9.0,
                  "supplementPrice": 10.0,
                  "promotionBfPrice": 11.0,
                  "earlyBirdDiscount": 12.0,
                  "commissionPrice": 13.0,
                  "sRoomType": "sample string 14"
                },
                {
                  "no": 1,
                  "adultCount": 2,
                  "childCount": 3,
                  "childAge1": 4,
                  "childAge2": 5,
                  "roomPrice": 6.0,
                  "discount": 7.0,
                  "minstayPrice": 8.0,
                  "compulsoryPrice": 9.0,
                  "supplementPrice": 10.0,
                  "promotionBfPrice": 11.0,
                  "earlyBirdDiscount": 12.0,
                  "commissionPrice": 13.0,
                  "sRoomType": "sample string 14"
                }
              ],
              "roomRateInfo": {
                "childMinAge": 1,
                "childMaxAge": 2,
                "minStayDay": 3,
                "minStayType": "sample string 4",
                "minStayRate": 5.0,
                "promotionName": "sample string 6",
                "promotionValue": true,
                "promotionAmount": 8.0,
                "promoCode": "sample string 9"
              }
            }
          ],
          "guests": [
            {
              "guestType": "sample string 1",
              "title": "sample string 2",
              "firstName": "sample string 3",
              "lastName": "sample string 4",
              "gender": "sample string 5",
              "birthDate": "sample string 6",
              "age": 7
            },
            {
              "guestType": "sample string 1",
              "title": "sample string 2",
              "firstName": "sample string 3",
              "lastName": "sample string 4",
              "gender": "sample string 5",
              "birthDate": "sample string 6",
              "age": 7
            }
          ]
        },
        "roomList": [
          {
            "sequence": 1,
            "serviceNo": "sample string 2",
            "typeCode": "sample string 3",
            "typeName": "sample string 4",
            "typeDescription": "sample string 5",
            "reqBedChild": true,
            "roomCount": 7,
            "maxOccupancy": 8,
            "adultCount": 9,
            "childCount": 10,
            "totalPrice": 11.0,
            "totalDiscount": 12.0,
            "avgNightPrice": 13.0,
            "totalNightPrice": 14.0,
            "nettPrice": 15.0,
            "commPrice": 16.0,
            "agentCommission": 17.0,
            "grossPrice": 18.0,
            "rate": [
              {
                "offset": 1,
                "nightPrice": 2.0,
                "roomRate": [
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  },
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  }
                ],
                "roomRateInfo": {
                  "childMinAge": 1,
                  "childMaxAge": 2,
                  "minStayDay": 3,
                  "minStayType": "sample string 4",
                  "minStayRate": 5.0,
                  "promotionName": "sample string 6",
                  "promotionValue": true,
                  "promotionAmount": 8.0,
                  "promoCode": "sample string 9"
                }
              },
              {
                "offset": 1,
                "nightPrice": 2.0,
                "roomRate": [
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  },
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  }
                ],
                "roomRateInfo": {
                  "childMinAge": 1,
                  "childMaxAge": 2,
                  "minStayDay": 3,
                  "minStayType": "sample string 4",
                  "minStayRate": 5.0,
                  "promotionName": "sample string 6",
                  "promotionValue": true,
                  "promotionAmount": 8.0,
                  "promoCode": "sample string 9"
                }
              }
            ],
            "guests": [
              {
                "guestType": "sample string 1",
                "title": "sample string 2",
                "firstName": "sample string 3",
                "lastName": "sample string 4",
                "gender": "sample string 5",
                "birthDate": "sample string 6",
                "age": 7
              },
              {
                "guestType": "sample string 1",
                "title": "sample string 2",
                "firstName": "sample string 3",
                "lastName": "sample string 4",
                "gender": "sample string 5",
                "birthDate": "sample string 6",
                "age": 7
              }
            ]
          },
          {
            "sequence": 1,
            "serviceNo": "sample string 2",
            "typeCode": "sample string 3",
            "typeName": "sample string 4",
            "typeDescription": "sample string 5",
            "reqBedChild": true,
            "roomCount": 7,
            "maxOccupancy": 8,
            "adultCount": 9,
            "childCount": 10,
            "totalPrice": 11.0,
            "totalDiscount": 12.0,
            "avgNightPrice": 13.0,
            "totalNightPrice": 14.0,
            "nettPrice": 15.0,
            "commPrice": 16.0,
            "agentCommission": 17.0,
            "grossPrice": 18.0,
            "rate": [
              {
                "offset": 1,
                "nightPrice": 2.0,
                "roomRate": [
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  },
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  }
                ],
                "roomRateInfo": {
                  "childMinAge": 1,
                  "childMaxAge": 2,
                  "minStayDay": 3,
                  "minStayType": "sample string 4",
                  "minStayRate": 5.0,
                  "promotionName": "sample string 6",
                  "promotionValue": true,
                  "promotionAmount": 8.0,
                  "promoCode": "sample string 9"
                }
              },
              {
                "offset": 1,
                "nightPrice": 2.0,
                "roomRate": [
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  },
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  }
                ],
                "roomRateInfo": {
                  "childMinAge": 1,
                  "childMaxAge": 2,
                  "minStayDay": 3,
                  "minStayType": "sample string 4",
                  "minStayRate": 5.0,
                  "promotionName": "sample string 6",
                  "promotionValue": true,
                  "promotionAmount": 8.0,
                  "promoCode": "sample string 9"
                }
              }
            ],
            "guests": [
              {
                "guestType": "sample string 1",
                "title": "sample string 2",
                "firstName": "sample string 3",
                "lastName": "sample string 4",
                "gender": "sample string 5",
                "birthDate": "sample string 6",
                "age": 7
              },
              {
                "guestType": "sample string 1",
                "title": "sample string 2",
                "firstName": "sample string 3",
                "lastName": "sample string 4",
                "gender": "sample string 5",
                "birthDate": "sample string 6",
                "age": 7
              }
            ]
          }
        ],
        "cancellationPolicies": [
          {
            "exCancelDays": 1,
            "cancelDateFrom": "sample string 2",
            "cancelDateTo": "sample string 3",
            "roomCategoryCode": "sample string 4",
            "roomCategoryName": "sample string 5",
            "remarks": "sample string 6",
            "chargeType": "sample string 7",
            "currency": "sample string 8",
            "chargeRate": 9.0,
            "description": "sample string 10"
          },
          {
            "exCancelDays": 1,
            "cancelDateFrom": "sample string 2",
            "cancelDateTo": "sample string 3",
            "roomCategoryCode": "sample string 4",
            "roomCategoryName": "sample string 5",
            "remarks": "sample string 6",
            "chargeType": "sample string 7",
            "currency": "sample string 8",
            "chargeRate": 9.0,
            "description": "sample string 10"
          }
        ],
        "roomImage": [
          "sample string 1",
          "sample string 2"
        ],
        "facility": [
          {
            "facility_name": "sample string 1",
            "type": "sample string 2",
            "subtype": "sample string 3",
            "category": "sample string 4",
            "extraFee": true
          },
          {
            "facility_name": "sample string 1",
            "type": "sample string 2",
            "subtype": "sample string 3",
            "category": "sample string 4",
            "extraFee": true
          }
        ],
        "additionalFees": [
          {
            "type": "sample string 1",
            "amount": 2.0,
            "isTotal": true,
            "tax": 4.0,
            "fees": 5.0,
            "id": "sample string 6"
          },
          {
            "type": "sample string 1",
            "amount": 2.0,
            "isTotal": true,
            "tax": 4.0,
            "fees": 5.0,
            "id": "sample string 6"
          }
        ],
        "onTheSpotFees": [
          {
            "description": "sample string 1",
            "amount": 2.0
          },
          {
            "description": "sample string 1",
            "amount": 2.0
          }
        ],
        "supplierName": "sample string 16",
        "checkInInstructions": "sample string 17",
        "remainingRooms": 18,
        "normalBeddings": 19,
        "extraBeds": 20
      },
      {
        "code": "sample string 1",
        "name": "sample string 2",
        "rateType": "sample string 3",
        "isRefundable": true,
        "description": "sample string 5",
        "totalDiscount": 6.0,
        "totalNightPrice": 7.0,
        "netPrice": 8.0,
        "grossPrice": 9.0,
        "newPrice": 10.0,
        "commPrice": 11.0,
        "totalAdditionalFee": 12.0,
        "currency": "sample string 13",
        "bfType": "sample string 14",
        "bfTypeName": "sample string 15",
        "roomType": {
          "sequence": 1,
          "serviceNo": "sample string 2",
          "typeCode": "sample string 3",
          "typeName": "sample string 4",
          "typeDescription": "sample string 5",
          "reqBedChild": true,
          "roomCount": 7,
          "maxOccupancy": 8,
          "adultCount": 9,
          "childCount": 10,
          "totalPrice": 11.0,
          "totalDiscount": 12.0,
          "avgNightPrice": 13.0,
          "totalNightPrice": 14.0,
          "nettPrice": 15.0,
          "commPrice": 16.0,
          "agentCommission": 17.0,
          "grossPrice": 18.0,
          "rate": [
            {
              "offset": 1,
              "nightPrice": 2.0,
              "roomRate": [
                {
                  "no": 1,
                  "adultCount": 2,
                  "childCount": 3,
                  "childAge1": 4,
                  "childAge2": 5,
                  "roomPrice": 6.0,
                  "discount": 7.0,
                  "minstayPrice": 8.0,
                  "compulsoryPrice": 9.0,
                  "supplementPrice": 10.0,
                  "promotionBfPrice": 11.0,
                  "earlyBirdDiscount": 12.0,
                  "commissionPrice": 13.0,
                  "sRoomType": "sample string 14"
                },
                {
                  "no": 1,
                  "adultCount": 2,
                  "childCount": 3,
                  "childAge1": 4,
                  "childAge2": 5,
                  "roomPrice": 6.0,
                  "discount": 7.0,
                  "minstayPrice": 8.0,
                  "compulsoryPrice": 9.0,
                  "supplementPrice": 10.0,
                  "promotionBfPrice": 11.0,
                  "earlyBirdDiscount": 12.0,
                  "commissionPrice": 13.0,
                  "sRoomType": "sample string 14"
                }
              ],
              "roomRateInfo": {
                "childMinAge": 1,
                "childMaxAge": 2,
                "minStayDay": 3,
                "minStayType": "sample string 4",
                "minStayRate": 5.0,
                "promotionName": "sample string 6",
                "promotionValue": true,
                "promotionAmount": 8.0,
                "promoCode": "sample string 9"
              }
            },
            {
              "offset": 1,
              "nightPrice": 2.0,
              "roomRate": [
                {
                  "no": 1,
                  "adultCount": 2,
                  "childCount": 3,
                  "childAge1": 4,
                  "childAge2": 5,
                  "roomPrice": 6.0,
                  "discount": 7.0,
                  "minstayPrice": 8.0,
                  "compulsoryPrice": 9.0,
                  "supplementPrice": 10.0,
                  "promotionBfPrice": 11.0,
                  "earlyBirdDiscount": 12.0,
                  "commissionPrice": 13.0,
                  "sRoomType": "sample string 14"
                },
                {
                  "no": 1,
                  "adultCount": 2,
                  "childCount": 3,
                  "childAge1": 4,
                  "childAge2": 5,
                  "roomPrice": 6.0,
                  "discount": 7.0,
                  "minstayPrice": 8.0,
                  "compulsoryPrice": 9.0,
                  "supplementPrice": 10.0,
                  "promotionBfPrice": 11.0,
                  "earlyBirdDiscount": 12.0,
                  "commissionPrice": 13.0,
                  "sRoomType": "sample string 14"
                }
              ],
              "roomRateInfo": {
                "childMinAge": 1,
                "childMaxAge": 2,
                "minStayDay": 3,
                "minStayType": "sample string 4",
                "minStayRate": 5.0,
                "promotionName": "sample string 6",
                "promotionValue": true,
                "promotionAmount": 8.0,
                "promoCode": "sample string 9"
              }
            }
          ],
          "guests": [
            {
              "guestType": "sample string 1",
              "title": "sample string 2",
              "firstName": "sample string 3",
              "lastName": "sample string 4",
              "gender": "sample string 5",
              "birthDate": "sample string 6",
              "age": 7
            },
            {
              "guestType": "sample string 1",
              "title": "sample string 2",
              "firstName": "sample string 3",
              "lastName": "sample string 4",
              "gender": "sample string 5",
              "birthDate": "sample string 6",
              "age": 7
            }
          ]
        },
        "roomList": [
          {
            "sequence": 1,
            "serviceNo": "sample string 2",
            "typeCode": "sample string 3",
            "typeName": "sample string 4",
            "typeDescription": "sample string 5",
            "reqBedChild": true,
            "roomCount": 7,
            "maxOccupancy": 8,
            "adultCount": 9,
            "childCount": 10,
            "totalPrice": 11.0,
            "totalDiscount": 12.0,
            "avgNightPrice": 13.0,
            "totalNightPrice": 14.0,
            "nettPrice": 15.0,
            "commPrice": 16.0,
            "agentCommission": 17.0,
            "grossPrice": 18.0,
            "rate": [
              {
                "offset": 1,
                "nightPrice": 2.0,
                "roomRate": [
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  },
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  }
                ],
                "roomRateInfo": {
                  "childMinAge": 1,
                  "childMaxAge": 2,
                  "minStayDay": 3,
                  "minStayType": "sample string 4",
                  "minStayRate": 5.0,
                  "promotionName": "sample string 6",
                  "promotionValue": true,
                  "promotionAmount": 8.0,
                  "promoCode": "sample string 9"
                }
              },
              {
                "offset": 1,
                "nightPrice": 2.0,
                "roomRate": [
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  },
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  }
                ],
                "roomRateInfo": {
                  "childMinAge": 1,
                  "childMaxAge": 2,
                  "minStayDay": 3,
                  "minStayType": "sample string 4",
                  "minStayRate": 5.0,
                  "promotionName": "sample string 6",
                  "promotionValue": true,
                  "promotionAmount": 8.0,
                  "promoCode": "sample string 9"
                }
              }
            ],
            "guests": [
              {
                "guestType": "sample string 1",
                "title": "sample string 2",
                "firstName": "sample string 3",
                "lastName": "sample string 4",
                "gender": "sample string 5",
                "birthDate": "sample string 6",
                "age": 7
              },
              {
                "guestType": "sample string 1",
                "title": "sample string 2",
                "firstName": "sample string 3",
                "lastName": "sample string 4",
                "gender": "sample string 5",
                "birthDate": "sample string 6",
                "age": 7
              }
            ]
          },
          {
            "sequence": 1,
            "serviceNo": "sample string 2",
            "typeCode": "sample string 3",
            "typeName": "sample string 4",
            "typeDescription": "sample string 5",
            "reqBedChild": true,
            "roomCount": 7,
            "maxOccupancy": 8,
            "adultCount": 9,
            "childCount": 10,
            "totalPrice": 11.0,
            "totalDiscount": 12.0,
            "avgNightPrice": 13.0,
            "totalNightPrice": 14.0,
            "nettPrice": 15.0,
            "commPrice": 16.0,
            "agentCommission": 17.0,
            "grossPrice": 18.0,
            "rate": [
              {
                "offset": 1,
                "nightPrice": 2.0,
                "roomRate": [
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  },
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  }
                ],
                "roomRateInfo": {
                  "childMinAge": 1,
                  "childMaxAge": 2,
                  "minStayDay": 3,
                  "minStayType": "sample string 4",
                  "minStayRate": 5.0,
                  "promotionName": "sample string 6",
                  "promotionValue": true,
                  "promotionAmount": 8.0,
                  "promoCode": "sample string 9"
                }
              },
              {
                "offset": 1,
                "nightPrice": 2.0,
                "roomRate": [
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  },
                  {
                    "no": 1,
                    "adultCount": 2,
                    "childCount": 3,
                    "childAge1": 4,
                    "childAge2": 5,
                    "roomPrice": 6.0,
                    "discount": 7.0,
                    "minstayPrice": 8.0,
                    "compulsoryPrice": 9.0,
                    "supplementPrice": 10.0,
                    "promotionBfPrice": 11.0,
                    "earlyBirdDiscount": 12.0,
                    "commissionPrice": 13.0,
                    "sRoomType": "sample string 14"
                  }
                ],
                "roomRateInfo": {
                  "childMinAge": 1,
                  "childMaxAge": 2,
                  "minStayDay": 3,
                  "minStayType": "sample string 4",
                  "minStayRate": 5.0,
                  "promotionName": "sample string 6",
                  "promotionValue": true,
                  "promotionAmount": 8.0,
                  "promoCode": "sample string 9"
                }
              }
            ],
            "guests": [
              {
                "guestType": "sample string 1",
                "title": "sample string 2",
                "firstName": "sample string 3",
                "lastName": "sample string 4",
                "gender": "sample string 5",
                "birthDate": "sample string 6",
                "age": 7
              },
              {
                "guestType": "sample string 1",
                "title": "sample string 2",
                "firstName": "sample string 3",
                "lastName": "sample string 4",
                "gender": "sample string 5",
                "birthDate": "sample string 6",
                "age": 7
              }
            ]
          }
        ],
        "cancellationPolicies": [
          {
            "exCancelDays": 1,
            "cancelDateFrom": "sample string 2",
            "cancelDateTo": "sample string 3",
            "roomCategoryCode": "sample string 4",
            "roomCategoryName": "sample string 5",
            "remarks": "sample string 6",
            "chargeType": "sample string 7",
            "currency": "sample string 8",
            "chargeRate": 9.0,
            "description": "sample string 10"
          },
          {
            "exCancelDays": 1,
            "cancelDateFrom": "sample string 2",
            "cancelDateTo": "sample string 3",
            "roomCategoryCode": "sample string 4",
            "roomCategoryName": "sample string 5",
            "remarks": "sample string 6",
            "chargeType": "sample string 7",
            "currency": "sample string 8",
            "chargeRate": 9.0,
            "description": "sample string 10"
          }
        ],
        "roomImage": [
          "sample string 1",
          "sample string 2"
        ],
        "facility": [
          {
            "facility_name": "sample string 1",
            "type": "sample string 2",
            "subtype": "sample string 3",
            "category": "sample string 4",
            "extraFee": true
          },
          {
            "facility_name": "sample string 1",
            "type": "sample string 2",
            "subtype": "sample string 3",
            "category": "sample string 4",
            "extraFee": true
          }
        ],
        "additionalFees": [
          {
            "type": "sample string 1",
            "amount": 2.0,
            "isTotal": true,
            "tax": 4.0,
            "fees": 5.0,
            "id": "sample string 6"
          },
          {
            "type": "sample string 1",
            "amount": 2.0,
            "isTotal": true,
            "tax": 4.0,
            "fees": 5.0,
            "id": "sample string 6"
          }
        ],
        "onTheSpotFees": [
          {
            "description": "sample string 1",
            "amount": 2.0
          },
          {
            "description": "sample string 1",
            "amount": 2.0
          }
        ],
        "supplierName": "sample string 16",
        "checkInInstructions": "sample string 17",
        "remainingRooms": 18,
        "normalBeddings": 19,
        "extraBeds": 20
      }
    ],
    "heroImage": "sample string 39",
    "images": [
      "sample string 1",
      "sample string 2"
    ],
    "avail": true,
    "availType": "sample string 41",
    "tripAdvisorRating": 42.1,
    "tripAdvisorReviewCount": 43,
    "tripAdvisorRatingUrl": "sample string 44",
    "latitude": 1.1,
    "longitude": 1.1,
    "checkInInstructions": "sample string 45",
    "specialCheckInInstructions": "sample string 46",
    "supplierHotelCode": "sample string 47",
    "promos": [
      {
        "effectiveStartDate": "sample string 1",
        "effectiveEndDate": "sample string 2",
        "travelStartDate": "sample string 3",
        "travelEndDate": "sample string 4",
        "promoDescription": "sample string 5",
        "promoType": "sample string 6",
        "promoValue": 7.0,
        "nightOfStayApply": 8,
        "nightOfStayApplyRecurring": true,
        "stayMaximumDurationDays": 10,
        "stayMinimumDurationDays": 11,
        "rateType": [
          "sample string 1",
          "sample string 2"
        ],
        "advancePurchaseMinimumDays": 1,
        "promoExcludedDates": [
          {
            "startDate": "sample string 1",
            "endDate": "sample string 2"
          },
          {
            "startDate": "sample string 1",
            "endDate": "sample string 2"
          }
        ],
        "partialExcludedDates": true,
        "advancePurchaseMaximumDays": 1,
        "promoApplies": [
          "sample string 1",
          "sample string 2"
        ],
        "stayStartRestriction": [
          "sample string 1",
          "sample string 2"
        ],
        "stayEndRestriction": [
          "sample string 1",
          "sample string 2"
        ],
        "stayIncludeEachOf": [
          "sample string 1",
          "sample string 2"
        ],
        "StayIncludeOneOf": [
          "sample string 1",
          "sample string 2"
        ],
        "partialApply": true
      },
      {
        "effectiveStartDate": "sample string 1",
        "effectiveEndDate": "sample string 2",
        "travelStartDate": "sample string 3",
        "travelEndDate": "sample string 4",
        "promoDescription": "sample string 5",
        "promoType": "sample string 6",
        "promoValue": 7.0,
        "nightOfStayApply": 8,
        "nightOfStayApplyRecurring": true,
        "stayMaximumDurationDays": 10,
        "stayMinimumDurationDays": 11,
        "rateType": [
          "sample string 1",
          "sample string 2"
        ],
        "advancePurchaseMinimumDays": 1,
        "promoExcludedDates": [
          {
            "startDate": "sample string 1",
            "endDate": "sample string 2"
          },
          {
            "startDate": "sample string 1",
            "endDate": "sample string 2"
          }
        ],
        "partialExcludedDates": true,
        "advancePurchaseMaximumDays": 1,
        "promoApplies": [
          "sample string 1",
          "sample string 2"
        ],
        "stayStartRestriction": [
          "sample string 1",
          "sample string 2"
        ],
        "stayEndRestriction": [
          "sample string 1",
          "sample string 2"
        ],
        "stayIncludeEachOf": [
          "sample string 1",
          "sample string 2"
        ],
        "StayIncludeOneOf": [
          "sample string 1",
          "sample string 2"
        ],
        "partialApply": true
      }
    ],
    "distanceFromSearchedHotel": 48.0,
    "specialRequest": "sample string 49",
    "mapChainCode": "sample string 50",
    "chainName": "sample string 51",
    "policy": {
      "infantAge": 1,
      "childrenAgeFrom": 2,
      "childrenAgeTo": 3,
      "childrenStayFree": true,
      "minGuestAge": 5
    },
    "nationalityRestrictions": [
      "sample string 1",
      "sample string 2"
    ],
    "checkInTime": "sample string 52",
    "checkOutTime": "sample string 53",
    "nearbyPlaces": [
      {
        "name": "sample string 1",
        "distance": 2.0,
        "distanceUnit": "sample string 3",
        "infoType": "sample string 4",
        "mapHotelCode": "sample string 5",
        "category": "sample string 6",
        "code": "sample string 7"
      },
      {
        "name": "sample string 1",
        "distance": 2.0,
        "distanceUnit": "sample string 3",
        "infoType": "sample string 4",
        "mapHotelCode": "sample string 5",
        "category": "sample string 6",
        "code": "sample string 7"
      }
    ],
    "topPlaces": [
      {
        "name": "sample string 1",
        "distance": 2.0,
        "distanceUnit": "sample string 3",
        "infoType": "sample string 4",
        "mapHotelCode": "sample string 5",
        "category": "sample string 6",
        "code": "sample string 7"
      },
      {
        "name": "sample string 1",
        "distance": 2.0,
        "distanceUnit": "sample string 3",
        "infoType": "sample string 4",
        "mapHotelCode": "sample string 5",
        "category": "sample string 6",
        "code": "sample string 7"
      }
    ],
    "nearbyProperties": [
      {
        "name": "sample string 1",
        "distance": 2.0,
        "distanceUnit": "sample string 3",
        "infoType": "sample string 4",
        "mapHotelCode": "sample string 5",
        "category": "sample string 6",
        "code": "sample string 7"
      },
      {
        "name": "sample string 1",
        "distance": 2.0,
        "distanceUnit": "sample string 3",
        "infoType": "sample string 4",
        "mapHotelCode": "sample string 5",
        "category": "sample string 6",
        "code": "sample string 7"
      }
    ]
  },
  "sessionId": "sample string 1",
  "ipAddress": "sample string 2",
  "userAgent": "sample string 3",
  "isMember": true,
  "loggingId": "sample string 6"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Asterix.Common.Data.Json.InsertBookingLogRequest' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Asterix.Common.Data.Json.InsertBookingLogRequest' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'HotelUpdateRequest'.

Response Information

Resource Description

GenericResponse
NameDescriptionTypeAdditional information
status

Status

None.

timestamp

string

None.

sessionId

string

None.

processingTime

integer

None.

processId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": {
    "code": "sample string 1",
    "message": "sample string 2",
    "type": "sample string 3"
  },
  "timestamp": "sample string 1",
  "sessionId": "sample string 2",
  "processingTime": 3,
  "processId": "sample string 4"
}

application/xml, text/xml

Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asterix.Common.Data.Json">
  <ProcessId>sample string 4</ProcessId>
  <ProcessingTime>3</ProcessingTime>
  <SessionId>sample string 2</SessionId>
  <Status>
    <Code>sample string 1</Code>
    <Message>sample string 2</Message>
    <Type>sample string 3</Type>
  </Status>
  <Timestamp>sample string 1</Timestamp>
</GenericResponse>