POST api/UnitClassMember/InsertInvite

加入班级[管理员邀请]

Request Information

URI Parameters

None.

Body Parameters

InsertInviteInput2
NameDescriptionTypeAdditional information
UnitID

单位编号

globally unique identifier

None.

ClassID

班级编号

globally unique identifier

None.

IDArray

手机号/网校号

string

None.

NameArray

加入姓名

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UnitID": "cc98b3ce-d0bb-438f-92e6-1e1f2e3cb1e9",
  "ClassID": "f21954c1-b940-4489-829e-6af9af8dc0be",
  "IDArray": "sample string 3",
  "NameArray": "sample string 4"
}

application/xml, text/xml

Sample:
<UnitClassMemberController.InsertInviteInput2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.API.PortalClass">
  <ClassID>f21954c1-b940-4489-829e-6af9af8dc0be</ClassID>
  <IDArray>sample string 3</IDArray>
  <NameArray>sample string 4</NameArray>
  <UnitID>cc98b3ce-d0bb-438f-92e6-1e1f2e3cb1e9</UnitID>
</UnitClassMemberController.InsertInviteInput2>

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

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.