文档
测试

机构精灵-查询

POST
http://172.16.4.219:8181/ampOpenapiService?method=mdmbase.viewshop.search&token=ac7b348e-8d12-46a1-9ffe-0e3171c32151

接口描述

机构精灵-查询

请求参数

参数名
类型
描述
condition
string
示例:shopid = '${shopid}' or shopname like '${shopname}'
params
object
数据字典
shopid
string
示例:M025
shopname
string
示例:%M025%
pageNo
int
页码
pageSize
int
每页条数

响应参数

参数名
类型
描述
data
object
数据字典
pageCount
int
总页数
total
int
总条数
pageNo
int
页码
pageSize
int
每页条数
pageData
array
数据列表
note
string
备注
shoplevel
string
示例:4
shopzonex
string
示例:
floorcount
int
经营楼层总数
businesshours
string
示例:
entid
string
企业ID
modifytime
int
修改时间
modifier
string
修改人
sizeclass
string
门店规模
lastflag
int
示例:0
shopform
string
示例:02
shoptype
int
机构编码(shoptype=11)
commercecircle
string
商圈
deptlevelid
int
示例:2
shoplname
string
机构名称
shopclass
string
机构
workingfloor
int
示例:0
dbsplitcode
string
分库串
workforce
int
员工总数
fdcshopid
string
示例:
id
int
示例:3880248167662592
brand
string
品牌
shopstatus
int
示例:0
createtime
int
创建日期
email
string
邮箱号
creator
string
创建人
manager
string
示例:
showsize
int
陈列面积或陈列线长
deliveryphone
string
示例:
league
string
示例:2
acreage
int
面积
telephone
string
电话号码
pricegroup
string
物价群组
headshopid
string
上级机构编码
zipcode
string
示例:
openingtime
int
示例:1499961600000
headshopidlist
string
示例:,A00A,0,
shopname
string
机构简称
dcshopid
string
示例:
shopid
string
机构编码
deliveryaddress
string
示例:
syjcnt
int
收银台数量
channelid
string
渠道编码
returncode
string
示例:0

请求示例

```json { "condition": "shopid = '${shopid}' or shopname like '${shopname}'", "params": { "shopid": "M025", "shopname": "%M025%" }, "pageNo": 1, "pageSize": 1000 } ```

响应示例

```json { "data": { "pageCount": 1, "total": 1, "pageNo": 1, "pageSize": 1000, "pageData": [{ "note": "三代店", "shoplevel": "4", "shopzonex": "", "floorcount": 2, "businesshours": "", "entid": "1", "modifytime": 1605671210000, "modifier": "张峻岭(临时)", "sizeclass": "03", "lastflag": 0, "shopform": "02", "shoptype": 11, "commercecircle": "21", "deptlevelid": 2, "shoplname": "绿篮子南山郡店", "shopclass": "1", "workingfloor": 0, "dbsplitcode": "1", "workforce": 17, "fdcshopid": "", "id": 3880248167662592, "brand": "1", "shopstatus": 0, "email": "", "createtime": 1598585295000, "creator": "张鹏", "manager": "", "showsize": 560, "deliveryphone": "", "league": "2", "acreage": 680, "telephone": "", "pricegroup": "", "headshopid": "A00A", "zipcode": "", "openingtime": 1499961600000, "headshopidlist": ",A00A,0,", "shopname": "绿篮子南山郡店", "dcshopid": "", "shopid": "M025", "deliveryaddress": "", "syjcnt": 4, "channelid": "00" }] }, "returncode": "0" } ```