Book Transfer Rest API Call From Third Party Application Creates Duplicate Transfers
(Doc ID 2966572.1)
Last updated on AUGUST 10, 2023
Applies to:
Oracle Retail Merchandising Foundation Cloud Service - Version 19.2 and laterInformation in this document applies to any platform.
Symptoms
Calling Rest API customerOrderBookTransfer with the below JSON created two transfers instead of one.
Steps to reproduce:
1. Call Rest API customerOrderBookTransfer.
2. Check the data in the tables TSFHEAD and TSFDETAIL.
Sample call for customerOrderBookTransfer (.../RmsReSTServices/services/private/Transfer/customerOrderBookTransfer):
[
{
"toLocation": "10001",
"fromLocation": "6000",
"customerOrderNumber": null,
"fulfillOrderNumber": null,
"updateCustomerReservedQty": null,
"itemsDetail": [
{
"item": "100000024",
"quantity": 5
}
]
}
]
Sample call using curl:
curl -X POST "http://***MASKED***/RmsReSTServices/services/private/Transfer/customerOrderBookTransfer" -u "***MASKED***" -H "accept: application/json" -H "Content-Type: application/json" -H "Accept-Version: 16.0" -H "Accept-Language: en-US,en;q=0.8" -d "[{\"toLocation\":\"10001\",\"fromLocation\":\"6000\",\"customerOrderNumber\":null,\"fulfillOrderNumber\":null,\"updateCustomerReservedQty\":null,\"itemsDetail\":[{\"item\":\"100000024\",\"quantity\":5}]}]"
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |