Logging in
Before you call any Data Ingestion and Replication REST API resource, log in to your organization to get a session ID and a server URL.
Use the login resource of the platform REST API version 2. For the request and response fields, see
Logging in.
To log in, send the following request:
POST https://<cloud provider>-<region>.informaticacloud.com/ma/api/v2/user/login
Content-Type: application/json
Accept: application/json
{
"@type": "login",
"username": "<IDMC user name>",
"password": "<IDMC password>"
}
Save the following values from the response:
Field | Description |
|---|
icSessionId | The session ID. Send this value in the IDS-SESSION-ID header of every later request. |
serverUrl | The server URL of your organization. Use it to build the base URL for your requests. |