Cancel Order
Request method: http, return json format.
Interface address
Name |
Request format |
test address |
Cancel Order |
GET |
http://58.250.56.5:8158/api/order/cancelOrder.json?reqData=xxx |
System input parameters
Name |
code |
type |
samole |
description |
Customer ID |
appKey |
String |
SZ28276 |
JL provide |
time stamp |
timestamp |
String |
1516816895000 |
Unix timestamp |
digital signature |
sign |
String |
063cae11a00896187f80eecbf922364a |
Signature method: md5 (md5 (secretKey+appKey)+timestamp) md5 uses 32-bit lowercase. |
version |
version |
String |
3.0.1 |
Version information, please refer to version description |
System output parameters
Name |
code |
type |
samole |
description |
result code |
code |
Integer |
0 |
0 indicates that the request is successful; non-0 indicates that there is a business exception. |
Results description |
errorMsg |
String |
|
misdescription |
version |
version |
String |
|
3.0.1 |
Result object |
result |
String |
|
Different requests are different objects, and incorrect requests generally return empty |
Response code |
respId |
String |
|
The only code of a single response. Please provide the code for troubleshooting business problems |
input parameter
Name |
code |
type |
Whether it is mandatory |
samole |
description |
Order No |
orderCode |
String |
Special options |
JLA20118010965193 |
none |
Customer order number |
customerOrderCode |
String |
Special options |
|
none |
Reason for cancellation |
cancelRemark |
String |
no |
|
|
input parameter
{"head": {"appKey": "SZ28276","timestamp": "1516816895000","sign": "063cae11a00896187f80eecbf922364a","format":"json"},"data":{"orderCode":"JLA20118011354949","cancelRemark":"飞机延误"}}
Return parameters
Name |
code |
type |
samole |
description |
Cancel successfully |
successs |
Integer |
|
0: Success, 1: Failure |
Return example
Return example
{"code": 0,"errorMsg": "","result": {"successs": 1},"respId": "e9013522-3872-433d-b4e9-4eb721d9ce9e"}