创建工单
请求信息
接口地址
http://oms.hkapi.esuhaitao.com/WorkOrder
请求方式
PUT
Head 参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Authorization |
参数签名 把“输入参数 JSON 格式的字符串内容”使用HMACSHA1(URL安全的Base64编码) 进行加密 查看示例 |
string |
Required |
无。 |
输入参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| RelateId |
关联ID |
integer |
Required |
无。 |
无。 |
| RelateCode |
关联订单Code |
string |
Required |
无。 |
无。 |
| RelateType |
关联订单类别 |
integer |
Required |
无。 |
无。 |
| ExceptionType |
异常类别,关联异常表Code字段 |
string |
Required |
无。 |
无。 |
| AbnormalImages |
异常图片 |
string |
无。 |
无。 |
无。 |
| Remarks |
备注信息 |
string |
Required |
无。 |
无。 |
| ProcessingDept |
处理部门 |
string |
Required |
无。 |
无。 |
请求参数格式
application/json 或 text/json
Sample:
{
"RelateId": 1,
"RelateCode": "sample string 2",
"RelateType": 3,
"ExceptionType": "sample string 4",
"AbnormalImages": "sample string 5",
"Remarks": "sample string 6",
"ProcessingDept": "sample string 7",
"OpUserId": 8
}
应答信息
资源说明
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Code | integer |
无。 |
无。 |
无。 |
|
| Message | string |
无。 |
无。 |
无。 |
应答结果格式
application/json 或 text/json
Sample:
{
"Code": 1,
"Message": "sample string 2"
}