POST api/hotel/common/get/sunseries/image?hotelcode={hotelcode}

sunseries 酒店图片信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hotelcode

string

Required

Body Parameters

TC_UserAuthentContract
NameDescriptionTypeAdditional information
authuser

用户身份信息

TC_UserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "authuser": {
    "userid": "sample string 1",
    "password": "sample string 2"
  }
}

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 'TC_UserAuthentContract'.

Response Information

Resource Description

sunseries 酒店图片信息

ReturnResultOfListOfImageResponse
NameDescriptionTypeAdditional information
data

Collection of ImageResponse

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "<is_primary>k__BackingField": true,
      "<id>k__BackingField": "sample string 2",
      "<image_url>k__BackingField": "sample string 3",
      "<cloudinary_name>k__BackingField": "sample string 4",
      "<thumbnail_url>k__BackingField": "sample string 5",
      "<public_id>k__BackingField": "sample string 6"
    },
    {
      "<is_primary>k__BackingField": true,
      "<id>k__BackingField": "sample string 2",
      "<image_url>k__BackingField": "sample string 3",
      "<cloudinary_name>k__BackingField": "sample string 4",
      "<thumbnail_url>k__BackingField": "sample string 5",
      "<public_id>k__BackingField": "sample string 6"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}