简要描述
- 调用接口查看公司订单详情
接口版本
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
V 1.0 | xxxx-xx-xx |
请求URL:
请求方式:
- GET
请求参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
access_token | 是 | string | 获取到的授权码access_token |
urlcode | 是 | string | 要查看的订单urlcode |
返回示例:
正确时返回一:
{
"code": 200,
"msg": "订单查询成功!",
"data": {
"order_id": 24291,
"appid": "1558164178",
"self_numbering": "1562638292",
"order_status": "3",
"company_id": "1",
"unified_social_credit_code": "91440106558377480Y",
"customer_id": 19847,
"customer_name": "sad",
"customer_phone": "213123123123",
"customer_id_card": "",
"employee_name": null,
"employee_id_card": null,
"service_ltems": "5",
"service_content": "erfwe",
"service_times": "1",
"service_store": "asda",
"order_amount": "123",
"creation_time": "1562638293",
"last_update_time": null,
"urlcode": "583acabbb567cb9772e872bbd1024474",
"remarks": "asd",
"start_time": "1562601600",
"end_time": "1562601600",
"company_name": "广州市育英家政服务有限公司",
"employee": [
{
"employee_id": 101304,
"employee_name": " 向运丽",
"urlcode": "9e604174c40c5d7ad9344cab39a64ed8"
},
{
"employee_id": 101496,
"employee_name": "asd",
"urlcode": "cc76ac62b913919d675c31ff55f10cc7"
}
],
"c_urlcode": "ecdea795a70628cc297e3286e374ff38",
"change_record": [],
"耗时": 0.27500000000000002
}
}
说明:change_record为订单修改记录。
错误时返回一:
{
"code": 400,
"msg": "没有找到您要的订单,请检查\"urlcode\"!",
"data": []
}
说明:出现此错误时,请检查“urlcode”。