Business 360 REST API Reference > Business 360 REST API > Authentication method
  

Authentication method

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 \

{
"username": "myUser",
"password": "myPassword",
}
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:
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 \

{
"username": "myUser",
"password": "myPassword",
}
Use the base URL and session ID returned in the response for subsequent requests during this session. Use the logout resource to end the session.
Modifying the baseApiUrl
When you log in, you get the following <baseApiUrl> value:
https://use4.dm-us.informaticacloud.com/saas
Modify the <baseApiUrl> value as follows:
To make your REST API calls, use the following <baseApiUrl> value:
https://use4-mdm.dm-us.informaticacloud.com