My Oracle Support Banner

MERCHAPI: "action" Field Is Populated As Null When Merchapi Rest Service Is Triggerred (Doc ID 3003029.1)

Last updated on FEBRUARY 09, 2024

Applies to:

Oracle Retail Merchandising Foundation Cloud Service - Version NA and later
Information in this document applies to any platform.

Goal

 When you call merchapi rest service to get only REGION from Organization hierarchy, the action field is populated as null.

Please see the below webservice used:
/MerchIntegrations/services/foundation/orghier/REGION

Expect the field to be populated with INSERT, UPDATE or DELETE.

Response:
{
"items": [
{
"action": null,
"hierarchyLevel": "REGION",
"hierarchyId": 4,
"hierarchyName": "waiting for business1",
"managerName": "NA",
"currencyCode": "USD",
"parentHierarchyId": 1,
"parentHierarchyLevel": "AREA",
"createDateTime": "2023-09-14T14:22:39.000Z",
"updateDateTime": "2023-10-26T12:50:16.000Z",
"cacheTimestamp": "2023-10-26T12:50:17.700Z"
},
{
"action": null,
"hierarchyLevel": "REGION",
"hierarchyId": 14,
"hierarchyName": "waiting for business",
"managerName": null,
"currencyCode": "USD",
"parentHierarchyId": 10,
"parentHierarchyLevel": "AREA",
"createDateTime": "2023-09-14T14:22:54.000Z",
"updateDateTime": "2023-09-14T14:23:13.000Z",
"cacheTimestamp": "2023-10-20T15:26:58.027Z"
}
],
"hasMore": false,
"limit": 1000,
"count": 2,
"links": [
{
"href": <ENV_URL>/MerchIntegrations/services/foundation/orghier/REGION?limit=1000&since=1970-01-01T00:00:00.001Z&before=2023-11-07T10:00:13.523335+00:00",
"rel": "self"
}
]
}

Can you please advise why action field is populated as null?

Solution

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
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.