POST api/Admin/LoginAuthentication
Request Information
URI Parameters
None.
Body Parameters
LoginModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2"
}
application/xml, text/xml
Sample:
<LoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zbs.Admin.Model"> <Password>sample string 2</Password> <Username>sample string 1</Username> </LoginModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LoginResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | integer |
None. |
|
| Message | string |
None. |
|
| Username | string |
None. |
|
| UserId | integer |
None. |
|
| DisplayName | string |
None. |
|
| Deptartment | string |
None. |
|
| Designation | string |
None. |
|
| DeptId | integer |
None. |
|
| DesginationId | integer |
None. |
|
| ServerSessionDate | string |
None. |
|
| Firstname | string |
None. |
|
| Lastname | string |
None. |
|
| GroupId | integer |
None. |
|
| GroupName | string |
None. |
|
| Imagepath | string |
None. |
|
| Image | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 1,
"Message": "sample string 2",
"Username": "sample string 3",
"UserId": 4,
"DisplayName": "sample string 5",
"Deptartment": "sample string 6",
"Designation": "sample string 7",
"DeptId": 8,
"DesginationId": 9,
"ServerSessionDate": "sample string 10",
"Firstname": "sample string 11",
"Lastname": "sample string 12",
"GroupId": 13,
"GroupName": "sample string 14",
"Imagepath": "sample string 15",
"Image": "sample string 16"
}
application/xml, text/xml
Sample:
<LoginResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zbs.Admin.Model"> <DeptId>8</DeptId> <Deptartment>sample string 6</Deptartment> <DesginationId>9</DesginationId> <Designation>sample string 7</Designation> <DisplayName>sample string 5</DisplayName> <Firstname>sample string 11</Firstname> <GroupId>13</GroupId> <GroupName>sample string 14</GroupName> <Image>sample string 16</Image> <Imagepath>sample string 15</Imagepath> <Lastname>sample string 12</Lastname> <Message>sample string 2</Message> <Result>1</Result> <ServerSessionDate>sample string 10</ServerSessionDate> <UserId>4</UserId> <Username>sample string 3</Username> </LoginResult>