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
Show optional properties
{
"email": "string"
}
{
"email": "string",
"password": "string"
}
string
email
Required
string
password
Optional
password
Responses
200
Successful authentication
Returns
UserSessionInfo
of type(s)
*/*
"UserSessionInfo Object"
string
firstName
Optional
firstName
string
lastName
Optional
lastName
string
contactNumber
Optional
contactNumber
string
email
Optional
string
type
Optional
type
Possible values are :
TDM,
LDAP,
array of
object
orgMemberships
Optional
orgMemberships
400
Authentication failure
Returns
ErrorDto
of type(s)
*/*
"ErrorDto Object"
string
message
Optional
message
object
errorCodes
Optional
errorCodes
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"email:"string"}' https://{api_host}/provider/session