GET city/v3/OrgH5/GetById/{Id}

根据Id的查询隶属单位 【k1.5】

Request

URI Params

字段名字段说明字段类型附加信息
Id

隶属单位Id

integer

Default value is 0

Body Params

None.

Response

APITResultOfOrgH5Model
字段名字段说明字段类型附加信息
Data

OrgH5Model

None.

Ret

返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效

integer

None.

ErrCode

错误代码,因功能而异

integer

None.

Msg

返回信息

string

None.

SeqId

请求序列

integer

None.

InfoMsg

API附加信息

string

None.

application/json, text/json

Sample:
{
  "Data": {
    "Id": "1",
    "Name": "sample string 2",
    "ShortName": "sample string 3",
    "UT": 1,
    "UTDesc": "单位",
    "BusinessType": 0,
    "BusinessTypeDesc": "无",
    "Address": "sample string 4",
    "RL": 0,
    "RLDesc": "全部",
    "GML": 2,
    "GMLDesc": "市级>县市区>工作网格",
    "POrgId": "5",
    "URs": [
      {
        "ProvinceId": "1",
        "ProvinceName": "sample string 2",
        "CityId": "3",
        "CityName": "sample string 4",
        "CountyId": "5",
        "CountyName": "sample string 6",
        "TownId": "7",
        "TownName": "sample string 8",
        "VillageId": "9",
        "VillageName": "sample string 10",
        "IsNotDivided": true
      },
      {
        "ProvinceId": "1",
        "ProvinceName": "sample string 2",
        "CityId": "3",
        "CityName": "sample string 4",
        "CountyId": "5",
        "CountyName": "sample string 6",
        "TownId": "7",
        "TownName": "sample string 8",
        "VillageId": "9",
        "VillageName": "sample string 10",
        "IsNotDivided": true
      }
    ],
    "UnitAttrList": [
      {
        "UnitTypeId": "1",
        "UnitTypeName": "sample string 2",
        "TaskAreaId": "3",
        "TaskAreaName": "sample string 4"
      },
      {
        "UnitTypeId": "1",
        "UnitTypeName": "sample string 2",
        "TaskAreaId": "3",
        "TaskAreaName": "sample string 4"
      }
    ],
    "UnitTypeId": "6",
    "UnitTypeName": "sample string 7",
    "ProvinceId": "8",
    "ProvinceName": "sample string 9",
    "CityId": "10",
    "CityName": "sample string 11",
    "CountyId": "12",
    "CountyName": "sample string 13",
    "TownId": "14",
    "TownName": "sample string 15",
    "VillageId": "16",
    "VillageName": "sample string 17",
    "CTime": "2025-05-22 22:49:10"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}