Authentication and Authorization

Authentication

The Oracle Prime API supports HTTP basic authentication.

To authenticate using cURL, pass the username and password for your Oracle Prime account using the -u cURL option:

curl --u username:password -H "Accept:application/json" -X GET 
      http://<hostName>:<portNumber>/primeapi/restapi/v<release level>/<service>

For example:

curl --u jsmith:mypassword1 -H "Accept:application/json" -X GET 
      http://<hostName>:<portNumber>/primeapi/restapi/v<release level>/<service>

Authorization

Oracle Prime provides security at the application level.

Refer to the Application Administration Guide for information on configuring access to the application.