POST api/ydyExpressCallback/mtCallback
美团订单回调接口
请求的信息
URI参数
None.
Body参数
mtCallbackCondition| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| delivery_id |
配送活动标识 |
integer |
None. |
| mt_peisong_id |
美团配送内部订单id |
string |
None. |
| order_id |
外部订单号 |
string |
None. |
| status |
状态代码 0:待调度20:已接单30:已取货 50:已送达99:已取消 |
integer |
None. |
| courier_name |
配送员姓名 |
string |
None. |
| courier_phone |
配送员电话 |
string |
None. |
| cancel_reason_id |
取消原因id |
integer |
None. |
| cancel_reason |
取消原因详情 |
string |
None. |
| appkey |
开放平台分配的appkey,合作方唯一标识 |
string |
None. |
| timestamp |
时间戳 |
integer |
None. |
| sign |
数据签名 |
string |
None. |
请求格式
application/json, text/json
Sample:
{
"delivery_id": 1,
"mt_peisong_id": "sample string 2",
"order_id": "sample string 3",
"status": 4,
"courier_name": "sample string 5",
"courier_phone": "sample string 6",
"cancel_reason_id": 7,
"cancel_reason": "sample string 8",
"appkey": "sample string 9",
"timestamp": 10,
"sign": "sample string 11"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfhwxcJsonResult| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| Content | hwxcJsonResult |
None. |
响应格式
application/json, text/json
Sample:
{
"content": {
"$id": "2",
"code": 1,
"msg": "sample string 2",
"data": {
"$id": "3"
}
}
}