Authentication

Authenticate

Before You Begin

  • OData APIs are hosted as a part of APM Web API service.
  • The Meridium Core (Foundation) license is required to use the OData functionalities.
Note: For more information on OData, refer to the OData documentation.

About This Task

You must authenticate OData requests to the APM database. The APM environment can be authenticated using Predix UAA. You must make two calls to use the Predix UAA authentication. The first is a HTTP POST call to get the access token and then a GET call to login.

Procedure

Get the access token.
AttributesValues
Resource URL{{uaa-uri}}/oauth/token
HTTP MethodPOST
HeaderDescription
AuthorizationBasic {{uaa-basic-auth-key}}
Acceptapplication/json
Content Typeapplication/x-www-form-urlencoded

Provide the following parameters in the request body in the x-www-form-urlencoded format:

ParametersDescription
grant_typepassword
username{{uaa-username}}
password{{uaa-user-password}}
An access token is generated.
Note: You cannot access OData using your Single Sign-On (SSO) credentials. You must have a valid User Account and Authentication (UAA) account to access OData. For more information on how to obtain a UAA account, consult GE Vernova Professional Services.