Oracle Identity Governance(OIG12c):SCIM Search Is No Longer Paging The Results After The CPU January 2024 Update.
(Doc ID 3069380.1)
Last updated on JANUARY 29, 2025
Applies to:
Identity Manager - Version 12.2.1.4.231215 and laterInformation in this document applies to any platform.
Goal
Hitting this SCIM API by posting body shown below
http://<host>:<webport>/iam/governance/scim/v1/Users/.search
POST the request body as something like:
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:SearchRequest"
],
"attributes": [
"id",
"userName"
],
"filter": "(urn:ietf:params:scim:schemas:core:2.0:User:meta.lastModified gt 2025-01-01T18:29:00.000Z) and ((userType eq \"Full-Time\"))",
"startIndex": "1",
"count": "3",
"sortBy": "urn:ietf:params:scim:schemas:core:2.0:User:meta.lastModified",
"sortOrder": "ascending"
}
Expected Result:
--------------------
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 6,
"itemsPerPage": 3,
"startIndex": 1,
"Resources": [
{
"userName": "XXX",
"id": "<111>"
},
{
"userName": "YYY",
"id": "<222>"
},
{
"userName": "ZZZ",
"id": "<333>"
}
]
}
Actual Result:
----------------
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:ListResponse"
],
"totalResults": 6,
"itemsPerPage": 6,
"startIndex": 0,
"Resources": [
{
"userName": "XXX",
"id": "<111>"
},
{
"userName": "YYY",
"id": "<222>"
},
{
"userName": "ZZZ",
"id": "<333>"
},
{
"userName": "AAA",
"id": "<444>"
},
{
"userName": "BBB",
"id": "<555>"
},
{
"userName": "CCC",
"id": "<666>"
}
]
}
The output shows all the results instead of showing just the number set for "count” parameter.
"itemsPerPage" shows value of "totalResults" instead of the expected "count" value.
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 |