Update Hotel Info

Description: Update hotel information

Path: /api/v1/hotel/updateHotelInfo

Method: POST

Request

Attributes

* = required

hotelSn*

integer

Identify of hotel

name*

string

Hotel’s name

areaCode

string

Area code

phone*

string

Hotel’s phone number

description

string

Hotel’s Policy (VIE)

enDescription

string

Hotel’s Policy (EN)

policy

string

Hotel’s Policy (VIE)

policyEn

string

Hotel’s Policy (EN)

imageList.image.sn*

integer

Identify of hotel image

imageList.image.flag*

int

The action on hotel image Possible enum values: 1 = Delete 2 = Add new 3 = Update/ Replace 4 = Skip/ Ignore

With flag = 2 (Add new) will not required imageList.image.sn

imageList.image.fullUrl*

string

Hotel image’s URL

imageList.image.firstDisplay*

integer

The image which will display first in a lot of images. Possible enum values: 0 = Not displayed first 1 = Displayed first

Example

Response

Attributes

acknowledged

boolean

The update has been applied yet

Example

Last updated