POST api/UnitDepartmentMember/Search

校讯搜索[UserNumb+UserName]

Request Information

URI Parameters

None.

Body Parameters

SearchInput
NameDescriptionTypeAdditional information
UnitID

单位编号

globally unique identifier

None.

Keyword

姓名或手机号或网校号

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "8dfb968e-d0e4-4c65-8c15-e828be088da9",
  "Keyword": "sample string 2"
}

application/xml, text/xml

Sample:
<UnitDepartmentMemberController.SearchInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.PortalDepartment">
  <Keyword>sample string 2</Keyword>
  <UnitID>8dfb968e-d0e4-4c65-8c15-e828be088da9</UnitID>
</UnitDepartmentMemberController.SearchInput>

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

Response Information

Resource Description

SearchOutput
NameDescriptionTypeAdditional information
UserNumb

网校号

string

None.

Mobile

手机号

string

None.

UserName

真实姓名

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserNumb": "sample string 1",
  "Mobile": "sample string 2",
  "UserName": "sample string 3"
}

application/xml, text/xml

Sample:
<UnitDepartmentMemberController.SearchOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.PortalDepartment">
  <Mobile>sample string 2</Mobile>
  <UserName>sample string 3</UserName>
  <UserNumb>sample string 1</UserNumb>
</UnitDepartmentMemberController.SearchOutput>