POST api/PostDingDing/GetEmpList

获取员工信息

Request Information

URI Parameters

None.

Body Parameters

请求数据

EmpRequest
NameDescriptionTypeAdditional information
d_id

部门ID 采购人员125 资源支持中心1505 产品经理传1

integer

None.

emp_name

员工姓名

string

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "d_id": 1,
  "emp_name": "sample string 1",
  "user_id": "sample string 2",
  "token": "sample string 3"
}

application/xml, text/xml

Sample:
<EmpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 3</token>
  <user_id>sample string 2</user_id>
  <d_id>1</d_id>
  <emp_name>sample string 1</emp_name>
</EmpRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmpRequest'.

Response Information

Resource Description

获取员工信息

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.