Get Hotel Feed API

Description: Get hotel feed

Path: /api/v2/datafeed/getHotelFeed

Method: POST

Content Type/Accept Type: application/json

Request

Attributes

* = required

clientId*

string

Identity of client

timestamp*

timestamp

Current timestamp

provinceSn*

integer

Identity of province

districtSn*

integer

Identity of district

hotelSnList

array<integer>

List of Go2Joy hotel SN

Example

Response

Attributes

sn

integer

Identity of hotel

name

string

Hotel's name

address

string

Hotel's address

longitude

double

Hotel's longitude

latitude

double

Hotel's latitude

address

string

Hotel's address

districtSn

integer

Identity of district

provinceSn

integer

Identity of province

description

string

Description of hotel (Vietnamese)

enDescription

string

Description of hotel (English)

averageMark

float

The average rating from users

totalReview

integer

Total review of hotel

imageList.image

imageList.image.sn

integer

Identify of image

imageList.image.imageUrl

string

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