# Batch Upload #### **Usage** - Batch upload transaction records to [e-Buy Backend](https://book.e-buy.com/link/124#bkmrk-e-buy-backend "A group /set of equipment / server to process all the transaction from e-Buy POS"), and will be matched and return.Only support the transactions within 7 Days. #### **action** - `batchUpload` **Request body,Cashier POS===>[e-Buy Backend](https://book.e-buy.com/link/124#bkmrk-e-buy-backend "A group /set of equipment / server to process all the transaction from e-Buy POS")**
FieldTypeMandatoryDescriptionMemo
traceNoStringYesCashier terminal trace No.No repeat allowed
transCountIntegerYesUpload sizeShould equals to size of transRecord list
beginTimeStringYesBegin TimeFormat:yyyyMMddHHmmss
endTimeStringYesEnd TimeFormat:yyyyMMddHHmmss
transRecordList<[transRecord](https://book.e-buy.com/link/333#bkmrk-trans-record "transRecord")>YesTransaction recordsMaximum: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](https://book.e-buy.com/link/124#bkmrk-e-buy-backend "A group /set of equipment / server to process all the transaction from e-Buy POS")===>Cashier POS**
FieldTypeMandatoryDescriptionMemo
traceNoStringYesCashier terminal trace No.No repeat allowed
transDateStringYesTransaction timeFormat:yyyyMMddHHmmss
returnCodeStringYesReturn code00 represent successful transaction, else represent fail
returnDescStringYesReturn messageDetail explanation / error message per transaction result
transRecordList<[transRecord](https://book.e-buy.com/link/333#bkmrk-trans-record "transRecord")>YesTransaction records after matchMaximum: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 } ] } ```