POST api/Group/GetEmpList

获取员工列表

Request Information

URI Parameters

None.

Body Parameters

请求数据

GroupEmpRequest
NameDescriptionTypeAdditional information
group_id

组Id

integer

None.

dep_id

部门Id,多个逗号分割

string

None.

emp_info

员工姓名或工号搜索

string

None.

group_status

状态:0-未关联 1-已关联 -1或空全部

integer

None.

page

页码

integer

None.

page_size

每页显示条数

integer

None.

user_id

当前登录者Id

string

None.

token

token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "group_id": 1,
  "dep_id": "sample string 2",
  "emp_info": "sample string 3",
  "group_status": 1,
  "page": 4,
  "page_size": 5,
  "user_id": "sample string 6",
  "token": "sample string 7"
}

application/xml, text/xml

Sample:
<GroupEmpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BBS.Model">
  <token>sample string 7</token>
  <user_id>sample string 6</user_id>
  <page>4</page>
  <page_size>5</page_size>
  <dep_id>sample string 2</dep_id>
  <emp_info>sample string 3</emp_info>
  <group_id>1</group_id>
  <group_status>1</group_status>
</GroupEmpRequest>

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 'GroupEmpRequest'.

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.