My Oracle Support Banner

Endpoint listCollections Parameters 'limit' And 'onlyActive' Giving Incorrect Result (Doc ID 2642748.1)

Last updated on MARCH 03, 2020

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

When attempt to fetch onlyActive collections with a certain number set for the limit parameter, OCC returns unexpected results.

GET
/ccadminui/v1/collections?onlyActive=true&limit=10

For example:
The customer has 50 collections, among the first 10 collections only 2 are active, the remaining 40 collections are all active.
In this scenario querying using the above endpoint request would return only the 2 active collections among the first 10 collections.
The expected result would be to return the first 10 active collections, so the 2 from the first 10 collections, and the next 8 collections (to hit the limit=10)

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


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