请求方式:
POST
请求地址:
https://api.eshouhou.cn/open/v2/WorkOrder/EditWorkOrder?access_token=eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTIw
请求参数:
参数 | 类型 | 必填 | 名称 | 备注 |
WorkOrderId | string | 是 | 工单id | |
ServiceSpaceId | string | 是 | 服务空间id | |
ServiceNetworkId | string | 是 | 服务网点id | |
ServiceNetworkType | int | 是 | 网点类型 | 网点类型(1总部,2网点);默认1 |
UserID | string | 是 | 账号id | |
CustomFields | Array | 是 | 字段集合 | 例如: [ { |
返回参数:
参数 | 类型 | 必填 | 名称 |
ResultCode | String | 是 | 返回编码 |
ErrorMsg | String | 否 | 返回信息 |
Post请求示例:
{
"WorkOrderID":"d46e6986-3f33-4c6d-9046-1c250d8c1d6c",
"ServiceCategoryName":"cccc",
"ServiceSpaceID":"6a8251ba-ce64-46b7-a505-a4e560032706",
"CustomerID":"dc540ce7-5bc5-4275-b8fa-2004eb5839e3",
"ServiceNetworkType":"1",
"ServiceStaffID":"6f80db83-a791-4d96-a5cc-0c89ed51cdb1",
"ServiceNetworkID":"bd7fc093-0ccf-4335-9daf-10931b4e7c7d",
"ServiceCategoryID":"2521",
"CustomFields":[
{
"key":"CustomerID",
"value":"658f3138-c75f-45a6-a685-4295d7a10039"
},
{
"key":"Priority",
"value":"1"
}
]
}
返回成功示例:
{ "ResultCode": 0, "ErrorMsg": "" } |