Get all data assignments API is case-sensitive for searches
Summary:
We have noticed that the API is case sensitive while searching using the query (q) parameter.
Content (please ensure you mask any confidential information):
We are trying to check whether a user has a particular data assignment or nor using the combination of username, role code, security context and security context value.
API: /fscmRestApi/resources/11.13.18.05/dataSecurities?onlyData=true&q=SecurityContext=Business unit;SecurityContextValue=Sample BU;RoleCommonName=SAMPLE_ROLE_NAME;UserName=MYUSER&fields=ActiveFlag,UserRoleDataAssignmentId
We have noticed that the API is case-sensitive on all of the above factors.
We have not noticed such behaviour with APIs like hcmRestApi/scim/Users?filter=userName eq "MYUSER".
Tagged:
0