POST api/hotel/common/update/sunseries/country?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 国家更新

ReturnResultOfListOfCountryResponse
NameDescriptionTypeAdditional information
data

Collection of CountryResponse

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "<id>k__BackingField": "sample string 1",
      "<name>k__BackingField": "sample string 2",
      "<code>k__BackingField": "sample string 3"
    },
    {
      "<id>k__BackingField": "sample string 1",
      "<name>k__BackingField": "sample string 2",
      "<code>k__BackingField": "sample string 3"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}