POST api/student/register

Request Information

URI Parameters

None.

Body Parameters

StudentPara
NameDescriptionTypeAdditional information
SchoolArea

string

None.

TrueName

string

None.

Sex

integer

None.

IdType

string

None.

IdCard

string

None.

Education

string

None.

Census

string

None.

HrProvince

string

None.

HrCity

string

None.

HrRegion

string

None.

Nationality

string

None.

ContactPhone

string

None.

Email

string

None.

FinishSchool

string

None.

FinishDate

date

None.

StudentType

string

None.

ReadSchool

integer

None.

Specialty

integer

None.

IdPhoto

string

None.

IdCardFront

string

None.

IdCardObverse

string

None.

GraduationPhoto

string

None.

EducationTable

string

None.

WeixinOpenId

string

None.

WeixinName

string

None.

ContactTeacher

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SchoolArea": "sample string 1",
  "TrueName": "sample string 2",
  "Sex": 3,
  "IdType": "sample string 4",
  "IdCard": "sample string 5",
  "Education": "sample string 6",
  "Census": "sample string 7",
  "HrProvince": "sample string 8",
  "HrCity": "sample string 9",
  "HrRegion": "sample string 10",
  "Nationality": "sample string 11",
  "ContactPhone": "sample string 12",
  "Email": "sample string 13",
  "FinishSchool": "sample string 14",
  "FinishDate": "2021-08-06T08:53:33.6621179+08:00",
  "StudentType": "sample string 16",
  "ReadSchool": 17,
  "Specialty": 18,
  "IdPhoto": "sample string 19",
  "IdCardFront": "sample string 20",
  "IdCardObverse": "sample string 21",
  "GraduationPhoto": "sample string 22",
  "EducationTable": "sample string 23",
  "WeixinOpenId": "sample string 24",
  "WeixinName": "sample string 25",
  "ContactTeacher": "sample string 26"
}

application/xml, text/xml

Sample:
<StudentPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecSchoolWebApi.Models">
  <Census>sample string 7</Census>
  <ContactPhone>sample string 12</ContactPhone>
  <ContactTeacher>sample string 26</ContactTeacher>
  <Education>sample string 6</Education>
  <EducationTable>sample string 23</EducationTable>
  <Email>sample string 13</Email>
  <FinishDate>2021-08-06T08:53:33.6621179+08:00</FinishDate>
  <FinishSchool>sample string 14</FinishSchool>
  <GraduationPhoto>sample string 22</GraduationPhoto>
  <HrCity>sample string 9</HrCity>
  <HrProvince>sample string 8</HrProvince>
  <HrRegion>sample string 10</HrRegion>
  <IdCard>sample string 5</IdCard>
  <IdCardFront>sample string 20</IdCardFront>
  <IdCardObverse>sample string 21</IdCardObverse>
  <IdPhoto>sample string 19</IdPhoto>
  <IdType>sample string 4</IdType>
  <Nationality>sample string 11</Nationality>
  <ReadSchool>17</ReadSchool>
  <SchoolArea>sample string 1</SchoolArea>
  <Sex>3</Sex>
  <Specialty>18</Specialty>
  <StudentType>sample string 16</StudentType>
  <TrueName>sample string 2</TrueName>
  <WeixinName>sample string 25</WeixinName>
  <WeixinOpenId>sample string 24</WeixinOpenId>
</StudentPara>

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

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.