简要描述:

  • 权益卡订单详情

请求URL:

  • rightscard/orderdetail

请求参数:

参数名 是否必须 类型 说明
OrderNo string 权益卡订单编号

入参示例:

  1. {
  2. apiKey : "test1",
  3. apisecret : "78FBB3D68B40A347644619ACF902CED3",
  4. currentTimeStamp : "20201211152507",
  5. sign : "4B6A84FD91198D460EC45F3DC293EA2C",
  6. uri : "http://localhost:39450/rightscard/orderdetail",
  7. data :
  8. {
  9. OrderNo : "RCO2012-0005"
  10. }
  11. }

返回示例:

正确时返回:

  1. {
  2. Code : 0,
  3. Success : true,
  4. Message : null,
  5. Data :
  6. {
  7. RightsCardOrder :
  8. {
  9. Id : "RCO2012-0005",
  10. Name : "小李",
  11. Mobile : "13570647813",
  12. Qty : 2,
  13. Amount : 798,
  14. ApiUserId : "测试",
  15. CreateOn : "2020-12-11T10:48:47.153"
  16. },
  17. RightsCard :
  18. [
  19. {
  20. CardNo : "3BSEZY",
  21. IsDisabled : false,
  22. IsActive : true,
  23. ActiveTime : "2020-12-11T11:29:32.687"
  24. },
  25. {
  26. CardNo : "3BSEZZ",
  27. IsDisabled : false,
  28. IsActive : true,
  29. ActiveTime : "2020-12-11T11:32:24.433"
  30. }
  31. ]
  32. }
  33. }

错误时返回:

  1. {
  2. "Code" : 100002,
  3. "Success" : false,
  4. "Message" : "应用认证错误",
  5. "Data" : ""
  6. }

返回参数说明:

参数名 类型 说明
Code int 代码
Success bool 请求是否成功
Message string 错误信息,成功时返回空
Data string 请求的数据结果,错误或找不到对应的卡是未NULL

Data:

参数名 类型 说明
Id string 订单编号
Name string 姓名
Mobile string 手机号
Qty int 数量
Amount decimal 订单金额
ApiUserId stromg 下单用户标识
CreateOn string 下单时间

卡信息

参数名 类型 说明
CardNo string 卡号
IsDisabled bool 是否禁用 1为禁用
IsActive bool 是否激活 true为已激活
ActiveTime string 激活时间