GET api/Manage/ListEmp?DepId={DepId}&sname={sname}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DepId

integer

Required

sname

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ExtResponse
NameDescriptionTypeAdditional information
Data

Collection of ExtData

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "id": 1,
      "name": "sample string 2"
    },
    {
      "id": 1,
      "name": "sample string 2"
    }
  ],
  "msg": "sample string 1",
  "code": 2,
  "total": 3
}

application/xml, text/xml

Sample:
<ExtResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LearnAPI">
  <code>2</code>
  <msg>sample string 1</msg>
  <total>3</total>
  <Data>
    <ExtData>
      <id>1</id>
      <name>sample string 2</name>
    </ExtData>
    <ExtData>
      <id>1</id>
      <name>sample string 2</name>
    </ExtData>
  </Data>
</ExtResponse>