GET api/hotel/techson/getnationality?lang={lang}&code={code}&name={name}&isdownload={isdownload}

获取国籍信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

语言(en-us,zh-hk,zh-cn)

string

Required

code

code

string

Default value is

name

名称

string

Default value is

isdownload

是否更新到本地库

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

获取国籍信息

ReturnResultOfnationalityRS
NameDescriptionTypeAdditional information
data

nationalityRS

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "nationalityListField": [
      {
        "codeField": "sample string 1",
        "nameENGField": "sample string 2",
        "nameCHNField": "sample string 3",
        "nameSIMField": "sample string 4",
        "capitalField": "sample string 5",
        "sortSequenceField": 6,
        "sortSequenceFieldSpecified": true,
        "continentCodeField": "sample string 8",
        "PropertyChanged": null
      },
      {
        "codeField": "sample string 1",
        "nameENGField": "sample string 2",
        "nameCHNField": "sample string 3",
        "nameSIMField": "sample string 4",
        "capitalField": "sample string 5",
        "sortSequenceField": 6,
        "sortSequenceFieldSpecified": true,
        "continentCodeField": "sample string 8",
        "PropertyChanged": null
      }
    ],
    "serviceErrorField": {
      "timestampField": 1,
      "codeField": "sample string 2",
      "messageField": "sample string 3",
      "detailedMessageField": "sample string 4",
      "PropertyChanged": null
    },
    "rawDataField": "sample string 1",
    "morePageField": true,
    "morePageFieldSpecified": true,
    "PropertyChanged": null
  },
  "code": 1,
  "message": "sample string 2"
}