- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 委外管理
- 销售管理
- 非标生产
- 费用收入单
- 费用支出单
- 费用申请单
- 差旅申请单
- 项目计划
- 进度填报单
- 备品备件领用单
- 工单填报单
- 基础资料查询
- 仓库/仓位(作废)
- 物料
- 计量单位
- 仓库/仓位(请用此接口)
- 地区
- 销售合同f7
- 计量单位查询POST
- 售后管理
- 项目立项
- 非标制造统计查询接口POST
- 售后统计查询接口POST
- 单据反审核操作POST
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
地区
POST
/mxoc_0001_mxoc_pq/admindivision_query
请求参数
Query 参数
access_token
string
必需
默认值:
{{access_token}}
Header 参数
groupName
string
必需
默认值:
{{groupName}}
Content-Type
string
必需
默认值:
{{Content-Type}}
accountid
string
必需
默认值:
{{accountId}}
X-GW-Router-Addr
string
必需
默认值:
{{X-GW-Router-Addr}}
Body 参数application/json
province
string
获取省 (固定001)
city
string
获取市 (这里传的是上级省的id)
county
string
获取县 (这里传的是上级市的id)
示例
{
"pageSize":"10",
"pageIndex":"1",
"province":"001"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/mxoc_0001_mxoc_pq/admindivision_query?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageSize":"10",
"pageIndex":"1",
"province":"001"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"success": true,
"reachPlugin": true,
"data": [
{
"parent.name": "null",
"code": "",
"iscity": "false",
"description": "北京",
"simplespell": "bj",
"basedatafield.name": "省",
"parent.number": "null",
"name": "北京",
"checked": false,
"parent.id": "null",
"fullspell": "beijing",
"id": "123",
"citynumber": ""
},
{
"parent.name": "null",
"code": "",
"iscity": "false",
"description": "重庆",
"simplespell": "cq",
"basedatafield.name": "省",
"parent.number": "null",
"name": "重庆",
"checked": false,
"parent.id": "null",
"fullspell": "chongqing",
"id": "141",
"citynumber": ""
},
{
"parent.name": "null",
"code": "350000",
"iscity": "false",
"description": "福建",
"simplespell": "fjs",
"basedatafield.name": "省",
"parent.number": "null",
"name": "福建省",
"checked": false,
"parent.id": "null",
"fullspell": "fujiansheng",
"id": "179",
"citynumber": ""
},
{
"parent.name": "null",
"code": "620000",
"iscity": "false",
"description": "甘肃",
"simplespell": "gss",
"basedatafield.name": "省",
"parent.number": "null",
"name": "甘肃省",
"checked": false,
"parent.id": "null",
"fullspell": "gansusheng",
"id": "274",
"citynumber": ""
},
{
"parent.name": "null",
"code": "440000",
"iscity": "false",
"description": "广东",
"simplespell": "gds",
"basedatafield.name": "省",
"parent.number": "null",
"name": "广东省",
"checked": false,
"parent.id": "null",
"fullspell": "guangdongsheng",
"id": "382",
"citynumber": ""
},
{
"parent.name": "null",
"code": "450000",
"iscity": "false",
"description": "广西",
"simplespell": "gxzzzzq",
"basedatafield.name": "省",
"parent.number": "null",
"name": "广西壮族自治区",
"checked": false,
"parent.id": "null",
"fullspell": "guangxizhuangzuzizhiqu",
"id": "588",
"citynumber": ""
},
{
"parent.name": "null",
"code": "520000",
"iscity": "false",
"description": "贵州",
"simplespell": "gzs",
"basedatafield.name": "省",
"parent.number": "null",
"name": "贵州省",
"checked": false,
"parent.id": "null",
"fullspell": "guizhousheng",
"id": "715",
"citynumber": ""
},
{
"parent.name": "null",
"code": "",
"iscity": "false",
"description": "上海",
"simplespell": "sh",
"basedatafield.name": "省",
"parent.number": "null",
"name": "上海",
"checked": false,
"parent.id": "null",
"fullspell": "shanghai",
"id": "2675",
"citynumber": ""
},
{
"parent.name": "null",
"code": "",
"iscity": "false",
"description": "天津",
"simplespell": "tj",
"basedatafield.name": "省",
"parent.number": "null",
"name": "天津",
"checked": false,
"parent.id": "null",
"fullspell": "tianjin",
"id": "3134",
"citynumber": ""
},
{
"parent.name": "null",
"code": "540000",
"iscity": "false",
"description": "西藏",
"simplespell": "xczzq",
"basedatafield.name": "省",
"parent.number": "null",
"name": "西藏自治区",
"checked": false,
"parent.id": "null",
"fullspell": "xicangzizhiqu",
"id": "3309",
"citynumber": ""
}
],
"errorCode": "success"
}
🟢200异常示例