POST Api/Login/Authorize
Request Information
URI Parameters
None.
Body Parameters
LoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<DevItLogin.LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DevelopItApi.Models"> <Email>sample string 1</Email> <Password>sample string 2</Password> </DevItLogin.LoginModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LoginResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| TenantId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": "sample string 2",
"TenantId": "sample string 3"
}
application/xml, text/xml
Sample:
<DevItLogin.LoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DevelopItApi.Models"> <ErrorMessage>sample string 2</ErrorMessage> <Success>true</Success> <TenantId>sample string 3</TenantId> </DevItLogin.LoginResult>