POST api/CheckWorkDaily/GetEmployeeByName

Request Information

URI Parameters

None.

Body Parameters

GetEmployeeByNameRequest2
NameDescriptionTypeAdditional information
keyword

string

None.

userID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "keyword": "sample string 1",
  "userID": 2
}

application/xml, text/xml

Sample:
<GetEmployeeByNameRequest2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels">
  <userID>2</userID>
  <keyword>sample string 1</keyword>
</GetEmployeeByNameRequest2>

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

Response Information

Resource Description

Collection of EntityIdModel
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2"
  },
  {
    "id": 1,
    "name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntityIdModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models">
  <EntityIdModel>
    <id>1</id>
    <name>sample string 2</name>
  </EntityIdModel>
  <EntityIdModel>
    <id>1</id>
    <name>sample string 2</name>
  </EntityIdModel>
</ArrayOfEntityIdModel>