POST Admin/login
Request Information
URI Parameters
None.
Body Parameters
AdminLoginDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| Loginpwd | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Loginpwd": "sample string 2"
}
application/xml, text/xml
Sample:
<AdminLoginDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO"> <Loginpwd>sample string 2</Loginpwd> <UserName>sample string 1</UserName> </AdminLoginDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AdminLoginResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| AdminId | integer |
None. |
|
| RealName | string |
None. |
|
| Rights | Collection of RightResponseDTO |
None. |
Response Formats
application/json, text/json
Sample:
{
"AdminId": 1,
"RealName": "sample string 2",
"Rights": [
{
"Id": 1,
"Parent": 2,
"Title": "sample string 3",
"URL": "sample string 4",
"Level": 5,
"IsCheck": 6
},
{
"Id": 1,
"Parent": 2,
"Title": "sample string 3",
"URL": "sample string 4",
"Level": 5,
"IsCheck": 6
}
]
}
application/xml, text/xml
Sample:
<AdminLoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO">
<AdminId>1</AdminId>
<RealName>sample string 2</RealName>
<Rights>
<RightResponseDTO>
<Id>1</Id>
<IsCheck>6</IsCheck>
<Level>5</Level>
<Parent>2</Parent>
<Title>sample string 3</Title>
<URL>sample string 4</URL>
</RightResponseDTO>
<RightResponseDTO>
<Id>1</Id>
<IsCheck>6</IsCheck>
<Level>5</Level>
<Parent>2</Parent>
<Title>sample string 3</Title>
<URL>sample string 4</URL>
</RightResponseDTO>
</Rights>
</AdminLoginResponse>