Session

Session

Authenticate User
Authorized Roles : ANY

Request
URI
POST
https://{api_host}/provider/session
COPY
Request Body

Authenticate Request Body

AuthDTO of type(s) application/json
Required
{
    "email": "string",
    "password": "string"
}
string
email
Required

email

string
password
Optional

password

Authentication
This operation uses the following authentication methods.
Responses
200

Successful authentication

Returns UserSessionInfo of type(s) */*
{
    "firstName": "string",
    "lastName": "string",
    "contactNumber": "string",
    "email": "string",
    "type": "string",
    "orgMemberships": [
        {
            "orgId": "string",
            "companyName": "string",
            "email": "string",
            "userRoles": [
                "string"
            ],
            "roles": [
                "string"
            ]
        }
    ]
}
string
firstName
Optional

firstName

string
lastName
Optional

lastName

string
contactNumber
Optional

contactNumber

string
email
Optional

email

string
type
Optional

type

Possible values are : TDM, LDAP,
orgMemberships
Optional

orgMemberships


400

Authentication failure

Returns ErrorDto of type(s) */*
{
    "message": "string",
    "errorCodes": {
        "type": "string"
    }
}
string
message
Optional

message

errorCodes
Optional

errorCodes