ReST Service MERCHINTEGRATIONS/SERVICES/ITEMS/UPDATE Failing Due To Missing AIP_CASE_TYPE
(Doc ID 3021693.1)
Last updated on MAY 10, 2024
Applies to:
Oracle Retail Merchandising Foundation Cloud Service - Version 24.0 and laterInformation in this document applies to any platform.
Symptoms
The customer is trying to use the Merch integrations ReST service for updating Items (/services/items/update).
The objective would be to update CFA values at Item_Master Level.
The documentation states the only mandatory field is the "item" but trying the service this seems to not be the case. Since the API throws errors about other fields that must be present in the request. Then, even if those fields are included, another error is returned regarding a field that is not even in the request contract: "Field must be entered.Field: AIP_CASE_TYPE, ITEM: XXXXXXXXX returned by program unit CORESVC_ITEM.PROCESS_IM"
Below a sample message sent through ReST API:
{
"collectionSize": 1,
"items": [
{
"item": "XXXXXXXXX",
"storeOrderMultiple": "I",
"shortDescription": "YYYYYYYYYYYYY",
"itemDescription": "YYYYYYYYYYYYY",
"customFlexAttribute": [
{
"name": "STATUS",
"value": "A"
}
]
}
]
}
And the types of errors received successively:
{
"status": "ERROR",
"message": "Field must be entered.Field: STORE_ORD_MULT, ITEM: XXXXXXXXX returned by program unit CORESVC_ITEM.PROCESS_IM."
}
{
"status": "ERROR",
"message": "Field must be entered.Field: SHORT_DESC, ITEM: XXXXXXXXX returned by program unit CORESVC_ITEM.PROCESS_IM."
}
{
"status": "ERROR",
"message": "Field must be entered.Field: ITEM_DESC, ITEM: XXXXXXXXX returned by program unit CORESVC_ITEM.PROCESS_IM."
}
{
"status": "ERROR",
"message": "Field must be entered.Field: AIP_CASE_TYPE, ITEM: XXXXXXXXX returned by program unit CORESVC_ITEM.PROCESS_IM."
}
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 |