GET api/EmpManage/GetEmpSingel/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BaseResponseOfEmpDeptRelateDtoName | Description | Type | Additional information |
---|---|---|---|
data | EmpDeptRelateDto |
None. |
|
msg | string |
None. |
|
code | integer |
None. |
|
total | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "StrDeptNames": [ { "dept_id": 1, "dept_name": "sample string 2" }, { "dept_id": 1, "dept_name": "sample string 2" } ], "id": 1, "real_name": "sample string 2", "emp_code": "sample string 3", "dept_id": 4, "dept_name": "sample string 5", "position_name": "sample string 6" }, "msg": "sample string 1", "code": 2, "total": 3 }
application/xml, text/xml
Sample:
<BaseResponseOfEmpDeptRelateDtogLTqVTfs 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.datacontract.org/2004/07/LearnAPI.ViewModel"> <d2p1:dept_id>4</d2p1:dept_id> <d2p1:dept_name>sample string 5</d2p1:dept_name> <d2p1:emp_code>sample string 3</d2p1:emp_code> <d2p1:id>1</d2p1:id> <d2p1:position_name>sample string 6</d2p1:position_name> <d2p1:real_name>sample string 2</d2p1:real_name> <d2p1:StrDeptNames> <d2p1:AddDeptDto> <d2p1:dept_id>1</d2p1:dept_id> <d2p1:dept_name>sample string 2</d2p1:dept_name> </d2p1:AddDeptDto> <d2p1:AddDeptDto> <d2p1:dept_id>1</d2p1:dept_id> <d2p1:dept_name>sample string 2</d2p1:dept_name> </d2p1:AddDeptDto> </d2p1:StrDeptNames> </data> </BaseResponseOfEmpDeptRelateDtogLTqVTfs>