B Appendix B – Additional Information in REST APIs for User Status and User Access Reports
In addition to the REST API Endpoints discussed in the Using REST APIs for User Management from Third-Party IDMs section, the User Status Report and User Access Report have more fields that are part of the Get Response populates additional fields in v8.1.2.0.0+ on applying the 33150367 One-off Patch from My Oracle Support.
Prerequisites
- See the Using REST APIs for User Management from Third-Party IDMs section for information about REST APIs in OFSAA.
- You must apply the 33150367 One-off Patch from My Oracle Support.
Reference Table
The following table provides details for the Additional REST API Specifications for User Status Report and User Access Report:
Table B-1 User Status and User Access Reports - Additional REST API Specifications
No | Requirement | URL | Method Type | Request | Sample Request JSON | Comments |
---|---|---|---|---|---|---|
1 | User Status Report | /rest-api/v1/user/status?userId=<USERID>&userName=<USERNAME>&idledays=<Number of days idle>&gsUserID=<Logged-in user>&loggedIp=<IP Address>&enable=<Y/N>&delete=<Y/N>&loggedIn=<Y/N> | GET | - |
For example: https://<HOST_NAME:PORT>/<CONTEXTNAME>/rest-api/v1/user/status?userId=exampleUserID&userName=exampleUserName &idledays=&gsUserID=SYSADMN&loggedIp=<192.0.2.1>&enable=Y&delete=N&loggedIn=Y |
The JSON request displays the Report for the deleted, disabled, currently logged in, and idle Users. Note:
|
|
||||||
2 | User Access Report | /rest-api/v1/user/useraccess?userId=<USERID>&userName=<USERNAME>&gsUserID=<Logged-in User>&loggedIp=<IP Address> | GET | - |
For example: https://<HOST_NAME:PORT>/<CONTEXTNAME>/rest-api/v1/user/useraccess?userId=exampleUserID&userName=exampleUserName&gsUserID=SYSADMN&loggedIp=<192.0.2.1> |
The JSON request displays the Report for User Access Rights. Note:
|
3 | User Access Report – group=Y | /rest-api/v1/user/useraccess?userId=<USERID>&userName=<USERNAME>&gsUserID=<Logged-in User>&loggedIp=<IP Address>&group=Y | GET |
For example: https://<HOST_NAME:PORT>/<CONTEXTNAME>/rest-api/v1/user/useraccess?userId=exampleUserID&userName=exampleUserName&gsUserID=SYSADMN&loggedIp=<192.0.2.1>&group=Y |
The JSON request displays the Report for User Access Rights. Note:
|
|
4 | User Access Report – role=Y | /rest-api/v1/user/useraccess?userId=<USERID>&userName=<USERNAME>&gsUserID=<Logged-in User>&loggedIp=<IP Address>&role=Y | GET |
For example: https://<HOST_NAME:PORT>/<CONTEXTNAME>/rest-api/v1/user/useraccess?userId=exampleUserID&userName=exampleUserName&gsUserID=SYSADMN&loggedIp=<192.0.2.1>&role=Y |
The JSON request displays the Report for User Access Rights. Note:
|
|
5 | User Access Report – function=Y | /rest-api/v1/user/useraccess?userId=<USERID>&userName=<USERNAME>&gsUserID=<Logged-in User>&loggedIp=<IP Address>&function=Y | GET |
For example: https://<HOST_NAME:PORT>/<CONTEXTNAME>/rest-api/v1/user/useraccess?userId=exampleUserID&userName=exampleUserName&gsUserID=SYSADMN&loggedIp=<192.0.2.1>&function=Y |
The JSON request displays the Report for User Access Rights. Note:
|