POST api/hotel/agentsys/landmark/city/get

获取城市路标

Request Information

URI Parameters

None.

Body Parameters

TC_CityLandMarkRQContract
NameDescriptionTypeAdditional information
citycode

城市编号

string

None.

lang

语言

string

None.

landmarktypes

路标类型

Collection of string

None.

authuser

用户身份信息

TC_UserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "citycode": "sample string 1",
  "lang": "sample string 2",
  "landmarktypes": [
    "sample string 1",
    "sample string 2"
  ],
  "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_CityLandMarkRQContract'.

Response Information

Resource Description

获取城市路标

ReturnResultOfListOfTC_CityLandMarkRSContract
NameDescriptionTypeAdditional information
data

Collection of TC_CityLandMarkRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "landmarktypecode": "sample string 1",
      "landmarktype": "sample string 2",
      "landmarklist": [
        {
          "landmarkid": "sample string 1",
          "landmarkname": "sample string 2",
          "latitude": 3.1,
          "longitude": 4.1
        },
        {
          "landmarkid": "sample string 1",
          "landmarkname": "sample string 2",
          "latitude": 3.1,
          "longitude": 4.1
        }
      ]
    },
    {
      "landmarktypecode": "sample string 1",
      "landmarktype": "sample string 2",
      "landmarklist": [
        {
          "landmarkid": "sample string 1",
          "landmarkname": "sample string 2",
          "latitude": 3.1,
          "longitude": 4.1
        },
        {
          "landmarkid": "sample string 1",
          "landmarkname": "sample string 2",
          "latitude": 3.1,
          "longitude": 4.1
        }
      ]
    }
  ],
  "code": 1,
  "message": "sample string 2"
}