CONTENTS
Authentication
The OAuth 2.0 Client Credentials flow allows a client app to use its own M2M credentials to authenticate when invoking API. Create an application with the following permissions ‘edi.odata.public.*’. Additionally, a secret should be created for the application.
Invoking Data Insights API Client Endpoints is a two-step process.
STEP 1: Generate Access Token Using Client Credentials
STEP 2: Invoke Data Insights OData API With Access Token
After getting the access token, call the Data Insights API by attaching the Bearer token in the authorization header.