取消订单
该接口用于取消票牛订单
POST /openapi/v2/order/cancel
参数
context-type "application/x-www-form-urlencoded"
| name | 
类型 | 
意义 | 
取值 | 
| sign | 
String | 
签名 | 
483DFD2E8BE0AF2D486F04C7320C7C5E | 
| appId | 
int | 
代理商的唯一id | 
1 | 
| timeStamp | 
long | 
时间戳 有效期10分钟 | 
1482995969920 | 
| orderId | 
String | 
代理商订单id | 
js8asa8su | 
请求示例(测试环境):
   curl -X POST http://openapibeta.piaoniu.com/openapi/v2/order/cancel\
   -v -d "orderId=js8asa8su&appId=10000&timeStamp=1489795985518&sign=13D25407EE9E2332545DA1AF186056E5"\
   -H "Content-Type: application/x-www-form-urlencoded"
返回值 :
| name | 
意义 | 
取值 | 
|  success | 
是否成功,成功后会返回订单号,错误会返回错误码及提示 | 
true/false | 
|  errorCode | 
错误码 | 
PRAM_ERROR | 
|  errorHint | 
错误提示 | 
 | 
errcode含义:
| 错误码 | 
含义 | 
|  PARAM_ERROR | 
参数错误 | 
|  OTHER_ERROR | 
其他未知错误 | 
示例(成功):
   {
     "success":true,
   }
示例(失败):
   {
     "success":false,
     "errorCode":"PARAM_ERROR",
     "errorHint":"参数错误"
   }