文档
测试

配送监控网点数据

POST
http://[域名]/dmilk/monitorbylocal

接口描述

配送监控网点数据

请求参数

参数名
类型
描述
必填
appid
string
系统分配给第三方的接入应用编码,示例:1234567890
必填
token
string
接入签名,示例:45879541235derderedew
必填
timestamp
string
时间戳,格式为:yyyymmddhhmmss,如:20200118122652
必填
opertoken
string
身份操作凭证
必填
pageindex
int
当前页码
必填
pageeachnum
int
每页显示的数量
必填
begindate
string
开始日期,格式为:yyyyMMdd
必填
enddate
string
结束日期,格式未:yyyyMMdd
必填
localid
string
网点编码
可选
skuno
string
商品编号
可选
bucuid
string
运营商编号
可选

请求数据示例

{ "appid":"1234567890", "token":"45879541235derderedew", "timestamp":"20200118122613", "opertoken":"123456eerwdfe", "pageindex":1, "pageeachnum":20, "begindate":"20210512", "enddate":"20210512" }

响应参数

参数名
类型
描述
必填
errcode
string
错误代码,示例:0
必填
errmsg
string
错误信息,示例:成功
必填
recordcount
string
记录数量,为0表示列表没有数据
必填
pageindex
int
当前页码
必填
pagetotalnum
int
总页数
必填
listinfo
必填
localid
string
网点编码
必填
localname
string
网点名称
必填
psstatus
string
配送状态 0:未配送 1:已配送
必填
pstime
string
配送确认时间
必填
accountid
string
配送员账号
必填
username
string
配送员名称
必填
total_ordernum
string
需配送订单数量
必填
total_takednum
string
已取货数量
必填
total_notakenum
string
未取货数量
必填
total_waittakenum
string
待取货数量
必填
total_waitpsnum
string
待配送数量
必填
psdate
string
配送日期
必填

响应成功示例

{ "errcode":"0", "errmsg":"成功", "recordcount":"1", "listinfo":[{ "loclaid":"123", "localname":"中心小学", "psstatus":"1", "pstime":"2021-08-01 12:12:46", "accountid":"12", "total_localnum":"16", "total_ordernum":"12", "total_takednum":"4", "total_notakenum":"12", "total_waittakenum":"11" } ] }

响应失败示例

{ "errcode":"1", "errmsg":"参数无效" }