POST api/v1/studentenrollment
Request Information
URI Parameters
None.
Body Parameters
StudentEnrollmentReqName | Description | Type | Additional information |
---|---|---|---|
first_name | string |
Required |
|
first_name_khmer | string |
Required |
|
last_name | string |
Required |
|
last_name_khmer | string |
Required |
|
sex | string |
Required |
|
select_birth_month | integer |
Required |
|
select_day | integer |
Required |
|
select_year | integer |
Required |
|
place_of_birth | string |
Required |
|
photo | string |
Required |
|
phone | string |
Required |
|
isdegree | boolean |
Required |
|
from_high_school_name_in_khmer | string |
Required |
|
high_school_graduate_year | integer |
Required |
|
mother_name_in_khmer | string |
Required |
|
father_name_in_khmer | string |
Required |
|
mother_contact_phone | string |
Required |
|
father_contact_phone | string |
Required |
|
student_tem_id | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "first_name": "sample string 1", "first_name_khmer": "sample string 2", "last_name": "sample string 3", "last_name_khmer": "sample string 4", "sex": "sample string 5", "select_birth_month": 6, "select_day": 7, "select_year": 8, "place_of_birth": "sample string 9", "photo": "sample string 10", "phone": "sample string 11", "isdegree": true, "from_high_school_name_in_khmer": "sample string 13", "high_school_graduate_year": 1, "mother_name_in_khmer": "sample string 14", "father_name_in_khmer": "sample string 15", "mother_contact_phone": "sample string 16", "father_contact_phone": "sample string 17", "student_tem_id": "sample string 18" }
application/xml, text/xml
Sample:
<StudentEnrollmentReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/resultappbbu.Models.Student.BO.Req"> <father_contact_phone>sample string 17</father_contact_phone> <father_name_in_khmer>sample string 15</father_name_in_khmer> <first_name>sample string 1</first_name> <first_name_khmer>sample string 2</first_name_khmer> <from_high_school_name_in_khmer>sample string 13</from_high_school_name_in_khmer> <high_school_graduate_year>1</high_school_graduate_year> <isdegree>true</isdegree> <last_name>sample string 3</last_name> <last_name_khmer>sample string 4</last_name_khmer> <mother_contact_phone>sample string 16</mother_contact_phone> <mother_name_in_khmer>sample string 14</mother_name_in_khmer> <phone>sample string 11</phone> <photo>sample string 10</photo> <place_of_birth>sample string 9</place_of_birth> <select_birth_month>6</select_birth_month> <select_day>7</select_day> <select_year>8</select_year> <sex>sample string 5</sex> <student_tem_id>sample string 18</student_tem_id> </StudentEnrollmentReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StudentEnrollmentReqName | Description | Type | Additional information |
---|---|---|---|
first_name | string |
Required |
|
first_name_khmer | string |
Required |
|
last_name | string |
Required |
|
last_name_khmer | string |
Required |
|
sex | string |
Required |
|
select_birth_month | integer |
Required |
|
select_day | integer |
Required |
|
select_year | integer |
Required |
|
place_of_birth | string |
Required |
|
photo | string |
Required |
|
phone | string |
Required |
|
isdegree | boolean |
Required |
|
from_high_school_name_in_khmer | string |
Required |
|
high_school_graduate_year | integer |
Required |
|
mother_name_in_khmer | string |
Required |
|
father_name_in_khmer | string |
Required |
|
mother_contact_phone | string |
Required |
|
father_contact_phone | string |
Required |
|
student_tem_id | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "first_name": "sample string 1", "first_name_khmer": "sample string 2", "last_name": "sample string 3", "last_name_khmer": "sample string 4", "sex": "sample string 5", "select_birth_month": 6, "select_day": 7, "select_year": 8, "place_of_birth": "sample string 9", "photo": "sample string 10", "phone": "sample string 11", "isdegree": true, "from_high_school_name_in_khmer": "sample string 13", "high_school_graduate_year": 1, "mother_name_in_khmer": "sample string 14", "father_name_in_khmer": "sample string 15", "mother_contact_phone": "sample string 16", "father_contact_phone": "sample string 17", "student_tem_id": "sample string 18" }
application/xml, text/xml
Sample:
<StudentEnrollmentReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/resultappbbu.Models.Student.BO.Req"> <father_contact_phone>sample string 17</father_contact_phone> <father_name_in_khmer>sample string 15</father_name_in_khmer> <first_name>sample string 1</first_name> <first_name_khmer>sample string 2</first_name_khmer> <from_high_school_name_in_khmer>sample string 13</from_high_school_name_in_khmer> <high_school_graduate_year>1</high_school_graduate_year> <isdegree>true</isdegree> <last_name>sample string 3</last_name> <last_name_khmer>sample string 4</last_name_khmer> <mother_contact_phone>sample string 16</mother_contact_phone> <mother_name_in_khmer>sample string 14</mother_name_in_khmer> <phone>sample string 11</phone> <photo>sample string 10</photo> <place_of_birth>sample string 9</place_of_birth> <select_birth_month>6</select_birth_month> <select_day>7</select_day> <select_year>8</select_year> <sex>sample string 5</sex> <student_tem_id>sample string 18</student_tem_id> </StudentEnrollmentReq>