POST api/hotel/common/update/sunseries/hotel?isupdate={isupdate}

sunseries 酒店信息更新

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isupdate

是否更新

boolean

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 酒店信息更新

ReturnResultOfListOfHotelResponse
NameDescriptionTypeAdditional information
data

Collection of HotelResponse

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "<token>k__BackingField": {
        "user_id": "sample string 1",
        "expires": "sample string 2",
        "valid": true,
        "id": "sample string 4"
      },
      "<id>k__BackingField": "sample string 1",
      "<name>k__BackingField": "sample string 2",
      "<description>k__BackingField": "sample string 3",
      "<stars>k__BackingField": "sample string 4",
      "<service_id>k__BackingField": "sample string 5",
      "<city_id>k__BackingField": "sample string 6",
      "<area_id>k__BackingField": "sample string 7",
      "<types>k__BackingField": [
        {
          "id": "sample string 1",
          "name": "sample string 2"
        },
        {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      ],
      "<longitude>k__BackingField": "sample string 8",
      "<latitude>k__BackingField": "sample string 9",
      "<amenities>k__BackingField": [
        {
          "id": "sample string 1",
          "description": "sample string 2",
          "free": {}
        },
        {
          "id": "sample string 1",
          "description": "sample string 2",
          "free": {}
        }
      ],
      "<remarks>k__BackingField": [
        {
          "description": "sample string 1",
          "id": "sample string 2"
        },
        {
          "description": "sample string 1",
          "id": "sample string 2"
        }
      ],
      "<telephone>k__BackingField": "sample string 10",
      "<address>k__BackingField": "sample string 11"
    },
    {
      "<token>k__BackingField": {
        "user_id": "sample string 1",
        "expires": "sample string 2",
        "valid": true,
        "id": "sample string 4"
      },
      "<id>k__BackingField": "sample string 1",
      "<name>k__BackingField": "sample string 2",
      "<description>k__BackingField": "sample string 3",
      "<stars>k__BackingField": "sample string 4",
      "<service_id>k__BackingField": "sample string 5",
      "<city_id>k__BackingField": "sample string 6",
      "<area_id>k__BackingField": "sample string 7",
      "<types>k__BackingField": [
        {
          "id": "sample string 1",
          "name": "sample string 2"
        },
        {
          "id": "sample string 1",
          "name": "sample string 2"
        }
      ],
      "<longitude>k__BackingField": "sample string 8",
      "<latitude>k__BackingField": "sample string 9",
      "<amenities>k__BackingField": [
        {
          "id": "sample string 1",
          "description": "sample string 2",
          "free": {}
        },
        {
          "id": "sample string 1",
          "description": "sample string 2",
          "free": {}
        }
      ],
      "<remarks>k__BackingField": [
        {
          "description": "sample string 1",
          "id": "sample string 2"
        },
        {
          "description": "sample string 1",
          "id": "sample string 2"
        }
      ],
      "<telephone>k__BackingField": "sample string 10",
      "<address>k__BackingField": "sample string 11"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}