POST api/DingDingProgram/GetUnRegularEmpList

入职阶段已审核通过的员工

Request Information

URI Parameters

None.

Body Parameters

GetUnRegularEmpRequest
NameDescriptionTypeAdditional information
empName

员工姓名

string

None.

page

integer

None.

page_size

integer

None.

userID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "empName": "sample string 1",
  "page": 2,
  "page_size": 3,
  "userID": "sample string 4"
}

application/xml, text/xml

Sample:
<GetUnRegularEmpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models">
  <userID xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">sample string 4</userID>
  <empName>sample string 1</empName>
  <page>2</page>
  <page_size>3</page_size>
</GetUnRegularEmpRequest>

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

Response Information

Resource Description

UnRegularEmpResponse
NameDescriptionTypeAdditional information
count

integer

None.

list

Collection of UnRegularEmpModel

None.

msg

消息

string

None.

result

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "count": 1,
  "list": [
    {
      "StepNum": 1,
      "EmpId": 1,
      "EmpName": "sample string 2",
      "EntryTime": "sample string 3",
      "RegularState": 1,
      "StepState": 1,
      "DepName": "sample string 4",
      "DepId": 5
    },
    {
      "StepNum": 1,
      "EmpId": 1,
      "EmpName": "sample string 2",
      "EntryTime": "sample string 3",
      "RegularState": 1,
      "StepState": 1,
      "DepName": "sample string 4",
      "DepId": 5
    }
  ],
  "msg": "sample string 2",
  "result": true
}

application/xml, text/xml

Sample:
<UnRegularEmpResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models">
  <msg xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">sample string 2</msg>
  <result xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">true</result>
  <count>1</count>
  <list>
    <UnRegularEmpModel>
      <DepId>5</DepId>
      <DepName>sample string 4</DepName>
      <EmpId>1</EmpId>
      <EmpName>sample string 2</EmpName>
      <EntryTime>sample string 3</EntryTime>
      <RegularState>1</RegularState>
      <StepNum>1</StepNum>
      <StepState>1</StepState>
    </UnRegularEmpModel>
    <UnRegularEmpModel>
      <DepId>5</DepId>
      <DepName>sample string 4</DepName>
      <EmpId>1</EmpId>
      <EmpName>sample string 2</EmpName>
      <EntryTime>sample string 3</EntryTime>
      <RegularState>1</RegularState>
      <StepNum>1</StepNum>
      <StepState>1</StepState>
    </UnRegularEmpModel>
  </list>
</UnRegularEmpResponse>