eLoad
Commit Reserved Transaction
Commit Reserved Transaction (1.0.0)
Commits a previously reserved transaction that was made using the setSale
API. This will finalize the transaction and make it official, based on the provided transaction details.
Download OpenAPI description
Languages
Servers
Mock server
https://enterprise-iot-portal.u.com.my/_mock/eload/commitsale/
Bodyapplication/jsonrequired
Unique Message ID generated by 3rd party system. Format [AAAYYYYMMDDHH24MISSCCCC]
Example: "0472023040112305999"
Fixed value for each channel (e.g., "047" for UMREX)
Example: "047"
- Mock server
https://enterprise-iot-portal.u.com.my/_mock/eload/commitsale/api/rest
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://enterprise-iot-portal.u.com.my/_mock/eload/commitsale/api/rest \
-H 'Content-Type: application/json' \
-d '{
"access_token": "abc123xyz456",
"method": "commitSale",
"version": "1.0.0",
"content": {
"msgId": "0472023040112305999",
"channel": "047",
"extOrderNbr": "CRMORDER001"
}
}'
Response
application/json
{ "res_code": "00000", "res_message": "Operation success", "result": { "resultCode": "DBEP0000", "resultMsg": "Success", "transactions": [ … ] } }