Push Transactions
This process fetches new transactions. You can send single transactions or
group them into batches.
Note: The
push API supports Transaction ID in this release.
This is a description of the push API endpoint:
- URL: /push
- Method: POST
This table shows the parameters that are used in push transactions:
Name | Description | Expected type |
---|---|---|
id | Transaction ID | Alphanumeric String |
custid | Customer ID | Alphanumeric String |
productid | Product ID | Alphanumeric String |
quantity | Product quantity | Positive float |
cost | Product cost | Positive float |
date | Transaction date | Date |
This table shows the success and error responses:
Success response | Error response |
---|---|
Code: 200
OK |
Code: 400 Bad
Request |
Content: {"result":true} |
Content: {"reason":"custid must be alphanumeric: 36_A"} |
This is an example of a call:
http://sicrmbase.cloud.infor.com/push { "transactionlist":[{"id":"tr100004395", "custid":"22377A", "productid":"1A", "quantity":10.5, "totalcost":100, "date":{"year":2016, "month":1, "day":1}}]}