POST api/hotel/curx/nationality/list

获取国籍

Request Information

URI Parameters

None.

Body Parameters

AsNationalityRQContract
NameDescriptionTypeAdditional information
lang

语言

string

None.

code

国籍编号

string

None.

authuser

用户身份信息

AsUserContract

None.

Request Formats

application/json, text/json

Sample:
{
  "lang": "sample string 1",
  "code": "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 'AsNationalityRQContract'.

Response Information

Resource Description

获取国籍

ReturnResultOfListOfAsNationalityRSContract
NameDescriptionTypeAdditional information
data

Collection of AsNationalityRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "code": "sample string 1",
      "name": "sample string 2"
    },
    {
      "code": "sample string 1",
      "name": "sample string 2"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}