-
Bug
-
Resolution: Fixed
-
Low
-
10.121.3
-
1
-
Severity 2 - Major
-
No
Issue Summary
The Enterprise Hierarchy field is not updated and/or retrieved via API Calls on /Users endpoint
This is reproducible on Data Center: Yes
Steps to Reproduce
- Open a User Record and validate that the Enterprise Hierarchy field is not blank;
- Run a GET Call on the User's endpoint (/rest/align/api/2/Users/[UserID])
- Enterprise Hierarchy field is presented as "Null" on the Response Body
- Run a PATCH Call on the User's endpoint (/rest/align/api/2/Users/[UserID]) with a payload similar to the one below:
[ { "op": "replace", "path": "/enterpriseHierarchy", "value": "Enteprise Hierarchy Test" } ]
-
- Got a 204 response but Enterprise Hierarchy is not updated
Tried it in several ways:
- By using Enterprise Hierarchy ID (JA Administration > SETUP > Organization Structures)
- By using a PUT Call instead of a PATCH Call
- By using Postman instead of JA Swagger
Expected Results
Enterprise Hierarchy retrieved and/or updated via API Calls
Actual Results
The Enterprise Hierarchy field is not updated and/or retrieved via API Calls on /Users endpoint
Workaround
Currently there is no known workaround for this behavior regarding API Calls.
The only way to update the Enteprise Hierarchy is via JA UI.
- resolves
-
PS-135586 Loading...