POST api/DingDingProgram/GetEmployeeByName
根据姓名匹配员工
Request Information
URI Parameters
None.
Body Parameters
GetEmployeeByNameRequestName | Description | Type | Additional information |
---|---|---|---|
keyword | string |
None. |
|
userID | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "keyword": "sample string 1", "userID": "sample string 2" }
application/xml, text/xml
Sample:
<GetEmployeeByNameRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.DingDingModels"> <userID>sample string 2</userID> <keyword>sample string 1</keyword> </GetEmployeeByNameRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of EntityIdModelName | Description | Type | Additional 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>