Batch Upload

Usage

action

Request body,Cashier POS===>e-Buy Backend

Field Type Mandatory Description Memo
traceNo String Yes Cashier terminal trace No. No repeat allowed
transCount Integer Yes Upload size Should equals to size of transRecord list
beginTime String Yes Begin Time Format:yyyyMMddHHmmss
endTime String Yes End Time Format:yyyyMMddHHmmss
transRecord List<transRecord> Yes Transaction records Maximum:5000

Request body example

{
    "traceNo": "99000009100010101732123",
    "transCount": 3,
    "beginTime": "20161231102201",
    "endTime": "20161231102230",
    "transRecord": [
      {
          "traceNo": "99000009100010101732123",
          "paidAmount": 100.00,
          "status": 0
      },
      {
          "traceNo": "99000009100010101732123",
          "paidAmount": 200.00,
          "status": 0
      },
      {
          "traceNo": "99000009100010101732123",
          "paidAmount": 300.00,
          "status": 0
      }
    ]
}

Response body,e-Buy Backend===>Cashier POS

Field Type Mandatory Description Memo
traceNo String Yes Cashier terminal trace No. No repeat allowed
transDate String Yes Transaction time Format:yyyyMMddHHmmss
returnCode String Yes Return code 00 represent successful transaction, else represent fail
returnDesc String Yes Return message Detail explanation / error message per transaction result
transRecord List<transRecord> Yes Transaction records after match Maximum:5000

Response body example

{
    "traceNo": "99000009100010101732123",
    "transDate": "20161231120533",
    "returnCode": "00",
    "returnDesc": "SUCCESS",
    "transRecord": [
      {
          "traceNo": "99000009100010101732123",
          "paidAmount": 100.00,
          "status": 1
      },
      {
          "traceNo": "99000009100010101732123",
          "paidAmount": 200.00,
          "status": 2
      },
      {
          "traceNo": "99000009100010101732123",
          "paidAmount": 300.00,
          "status": 3
      }
    ]
}

Revision #2
Created 5 August 2021 18:55:19 by zhangkexin
Updated 17 August 2021 20:16:52 by zhangkexin