Authentication
About Authentication
To request for a user token, a POST call to the APM Web API URL with the following URL extension and body must be used. After the Meridium token is retrieved, it is passed as the value to the header key MeridiumToken
.
POST
Returns a SessionDTO object. From this DTO, sessionId
, ;
(semicolon), and timezoneId
are concatenated to produce a Meridium Token value.
You must provide a request header, meridiumtoken
, with this value on every subsequent API call.
The header content-type
with value application/json
is the only other header required by the application.
Request Syntax
{{APM_WEB_API_URL}}/api/v1/core/security/login
Request Body
{"DatasourceId":"APM_DATASOURCE_NAME","Id":"APM User","Password":"APM Password"}
Response
Retrieve the Meridium Token from the returned headers