Use Oracle Access Manager
To generate an OAuth access token by using Oracle Access Manager:
- 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.
- Generate an OAuth access token by using the Oracle Access Manager OAuth REST API.
- 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.