POST login

Authenticates a username and password against a server account. The sessionId returned as part of the response is the token that needs to be passed to other calls that requiere authentication.

Parameters

Account

The account identifies the customer in a multitenant environment. It acts as a domain or realm for all usernames in that account. That means that for different accounts it's valid that people have the same username

Example Values: cervelo, rpdemo1, apihealthcare

Username

Unique identifier for a user in an account. It's common for application level usernames to use the same name as the account name.

Example Values: brichie, rpdemo1, testuser

Password

Password.

Example Values: 1jI5e4W3qt

The following error codes are returned:

Example Request

POST http://shiftex.vortexconnect.com/api/login HTTP/1.1
Accept: application/json; version=2.0
Content-Type: application/json
Content-Length: 66

{"account" : "cervelo", username : "vortex", password: "1jI5e4W3qt"}
{"sessionId": "wORaLP4wa8MbhK3psvNrEif3Cc8a1wtQvYgwTv52qnQ="}