POST Admin/QuerySalesmanList

Request Information

URI Parameters

None.

Body Parameters

AdminQueryRequestDTO
NameDescriptionTypeAdditional information
UserName

string

None.

State

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "State": 1
}

application/xml, text/xml

Sample:
<AdminQueryRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO">
  <State>1</State>
  <UserName>sample string 1</UserName>
</AdminQueryRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of AdminDTO
NameDescriptionTypeAdditional information
AdminId

integer

None.

UserName

string

None.

Loginpwd

string

None.

RealName

string

None.

CreateId

integer

None.

State

integer

None.

RoleId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AdminId": 1,
    "UserName": "sample string 2",
    "Loginpwd": "sample string 3",
    "RealName": "sample string 4",
    "CreateId": 5,
    "State": 6,
    "RoleId": 1
  },
  {
    "AdminId": 1,
    "UserName": "sample string 2",
    "Loginpwd": "sample string 3",
    "RealName": "sample string 4",
    "CreateId": 5,
    "State": 6,
    "RoleId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfAdminDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zs.Ylx.Resources.Entity.BackgroundDTO">
  <AdminDTO>
    <AdminId>1</AdminId>
    <CreateId>5</CreateId>
    <Loginpwd>sample string 3</Loginpwd>
    <RealName>sample string 4</RealName>
    <RoleId>1</RoleId>
    <State>6</State>
    <UserName>sample string 2</UserName>
  </AdminDTO>
  <AdminDTO>
    <AdminId>1</AdminId>
    <CreateId>5</CreateId>
    <Loginpwd>sample string 3</Loginpwd>
    <RealName>sample string 4</RealName>
    <RoleId>1</RoleId>
    <State>6</State>
    <UserName>sample string 2</UserName>
  </AdminDTO>
</ArrayOfAdminDTO>