GET api/EmpManage/GetDept?empId={empId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
empId

integer

Required

Body Parameters

None.

Response Information

Resource Description

BaseResponseOfListOfInt32
NameDescriptionTypeAdditional information
data

Collection of integer

None.

msg

string

None.

code

integer

None.

total

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<BaseResponseOfArrayOfintuHEDJ7Dj 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 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </data>
</BaseResponseOfArrayOfintuHEDJ7Dj>