Use Oracle Access Manager

To generate an OAuth access token by using Oracle Access Manager:

  1. Set up two-legged or three-legged OAuth authentication in Oracle Access Manager. For more information, see "BRM REST Services Manager Security" in BRM Security Guide.
  2. Generate an OAuth access token by using the Oracle Access Manager OAuth REST API.
  3. Test that your OAuth access token works correctly by calling the BRM REST Services Manager API.

    For example, you could run a GET request for retrieving all accumulated balances:

    curl -X GET -H Authorization: Bearer accessToken https://hostname:port/brm/prepayBalanceManagement/version/accumulatedBalance/

    where:

    • accessToken is the OAuth access token for your BRM REST Services Manager account.
    • hostname is the URL for the BRM REST Services Manager server.
    • port is the port for the BRM REST Services Manager server.