The REST APIs use the basic HTTP authentication method to authenticate users. When you first log in with your browser, you must provide your user name and password. After successful authentication, you get the <baseApiUrl>, which you must modify before you can make your REST API calls.
To log in and authenticate, you can use Login API V3 or Login API V2.
Login API V3
To get a session ID using Login API V3, submit the following POST request with your credentials:
POST https://dm-us.informaticacloud.com/saas/public/core/v3/login \ Accept: application/json \ Content-Type: application/json \
The login response includes the session ID and base URL that you need to include in subsequent REST API calls. Use values from the following fields:
•sessionId. A REST API session ID that you include in the header for version 3 REST API calls. The session ID expires after 30 minutes of inactivity. After the session ID expires, log in again to continue working with the REST API.
•baseApiUrl. The base URL that you use for subsequent requests during this session.
Login API V2
To get a session ID using Login API V2, submit the following POST request with your credentials:
POST https://dm-us.informaticacloud.com/ma/api/v2/user/login \ Accept: application/json \ Content-Type: application/json \