POST api/UnitDepartmentMember/Insert

添加部门用户

Request Information

URI Parameters

None.

Body Parameters

InsertMobileInput
NameDescriptionTypeAdditional information
UnitID

单位编号

globally unique identifier

None.

Mobile

手机号[多个,分割]

string

None.

UserName

真实姓名[多个,分割][最多40个汉字]

string

None.

UnitDepartmentID

单位部门编号

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "e05399ed-6f1b-46e2-8ef2-9486728d0262",
  "Mobile": "sample string 2",
  "UserName": "sample string 3",
  "UnitDepartmentID": "196509b7-06e6-4a39-bd3c-fab144284745"
}

application/xml, text/xml

Sample:
<UnitDepartmentMemberController.InsertMobileInput 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>
  <UnitDepartmentID>196509b7-06e6-4a39-bd3c-fab144284745</UnitDepartmentID>
  <UnitID>e05399ed-6f1b-46e2-8ef2-9486728d0262</UnitID>
  <UserName>sample string 3</UserName>
</UnitDepartmentMemberController.InsertMobileInput>

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

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.