Skip to main content Skip to complementary content

Login

Information noteSAML login using the Enterprise Manager API is currently not supported.

General

URL

https://{host}/attunityenterprisemanager/api/v1/login

Description

Authenticates an API caller with Enterprise Manager using Active Directory, and acquires a session token to be used with API method calls. The server requests client authentication.

HTTP method

GET

POST 

Required user role

See Required Enterprise Manager permissions.

Request parameters

Request parameters
Location URL Parameter Name Required Example

URL

host [string]

Yes

computer.network.net

Header (Required with Active Directory authentication only)

user@domain:password converted to base 64 [string]

Yes

c27kc2Rmc27k

Information noteThe user password cannot contain a colon (:).

Response header

Response header parameters
URL Param Name Description
EnterpriseManager.APISessionID

Identifier to be used to get authorization to run API functions on Enterprise Manager

cURL example

Active Directory request

curl -i -k --header "Authorization: Basic cWFAcWE6cWE=" https://computer.network.net/attunityenterprisemanager/

api/v1/login

Response

HTTP/1.1 200 OK

Content-Length: 0

Content-Type: text/html

Server: Microsoft-HTTPAPI/2.0

EnterpriseManager.APISessionID: J3cKzWIbi_w6Fr1G-tO03Q

Date: Mon, 26 Dec 2016 17:02:01 GMT

Error response

Error responses
HTTP Code Enterprise Manager Code Text Description

401

UNAUTHORIZED_REQUEST Unauthorized Request.

The request was not authorized.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!