POST api/hotel/agentsys/nationality/list

获取国籍

Request Information

URI Parameters

None.

Body Parameters

TC_NationalityRQContract
NameDescriptionTypeAdditional information
lang

语言

string

None.

code

国籍编号

string

None.

authuser

用户身份信息

TC_UserContract

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

Response Information

Resource Description

获取国籍

ReturnResultOfListOfTC_NationalityRSContract
NameDescriptionTypeAdditional information
data

Collection of TC_NationalityRSContract

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"
}