GET city/v3/OrgWeb/GetByCityId
根据CityId获取所有Org 【n4.2】
Request
URI Params
None.
Body Params
None.
Response
APITResultOfIEnumerableOfOrgWebModel| 字段名 | 字段说明 | 字段类型 | 附加信息 |
|---|---|---|---|
| Data | Collection of OrgWebModel |
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",
"POrgName": "sample string 6",
"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
}
],
"CTime": "2025-10-25 15:23:55",
"IsTopUnit": true,
"OpenCorpId": "9",
"OpenCorpName": "sample string 10",
"MatchDeptId": 11,
"ProvinceId": "12",
"ProvinceName": "sample string 13",
"CityId": "14",
"CityName": "sample string 15",
"CountyId": "16",
"CountyName": "sample string 17",
"TownId": "18",
"TownName": "sample string 19",
"VillageId": "20",
"VillageName": "sample string 21"
},
{
"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",
"POrgName": "sample string 6",
"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
}
],
"CTime": "2025-10-25 15:23:55",
"IsTopUnit": true,
"OpenCorpId": "9",
"OpenCorpName": "sample string 10",
"MatchDeptId": 11,
"ProvinceId": "12",
"ProvinceName": "sample string 13",
"CityId": "14",
"CityName": "sample string 15",
"CountyId": "16",
"CountyName": "sample string 17",
"TownId": "18",
"TownName": "sample string 19",
"VillageId": "20",
"VillageName": "sample string 21"
}
],
"Ret": 1,
"ErrCode": 2,
"Msg": "sample string 3",
"SeqId": 4,
"InfoMsg": "sample string 5"
}