POST api/StudentsInfoes
Request Information
URI Parameters
None.
Body Parameters
StudentsInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentID | globally unique identifier |
None. |
|
| BusID | globally unique identifier |
None. |
|
| BusIDEvening | globally unique identifier |
None. |
|
| SchoolID | globally unique identifier |
None. |
|
| StudentNo | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| IDCard | string |
None. |
|
| UserPic | string |
None. |
|
| DateOfBirth | date |
None. |
|
| Sex | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| SubDistrictID | globally unique identifier |
None. |
|
| DistrictID | globally unique identifier |
None. |
|
| ProvinceID | globally unique identifier |
None. |
|
| Country | string |
None. |
|
| ZipCode | string |
None. |
|
| Tel | string |
None. |
|
| string |
None. |
||
| ParentName1 | string |
None. |
|
| ParentSurname1 | string |
None. |
|
| ParentIDCard1 | string |
None. |
|
| ParentPhone1 | string |
None. |
|
| ParentRelation1 | string |
None. |
|
| ParentSecretcode1 | string |
None. |
|
| ParentName2 | string |
None. |
|
| ParentSurname2 | string |
None. |
|
| ParentIDCard2 | string |
None. |
|
| ParentPhone2 | string |
None. |
|
| ParentRelation2 | string |
None. |
|
| ParentSecretcode2 | string |
None. |
|
| ParentName3 | string |
None. |
|
| ParentSurname3 | string |
None. |
|
| ParentIDCard3 | string |
None. |
|
| ParentPhone3 | string |
None. |
|
| ParentRelation3 | string |
None. |
|
| ParentSecretcode3 | string |
None. |
|
| IsActive | integer |
None. |
|
| CreateBy | string |
None. |
|
| CreateDate | date |
None. |
|
| UpdateBy | string |
None. |
|
| UpdateDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentID": "337efdb9-03b0-4008-b071-bb6a56eb63fb",
"BusID": "bf754386-7f40-4c8a-84a7-96fcff95b3a4",
"BusIDEvening": "262dd679-db72-421b-941c-1c6f268b8875",
"SchoolID": "5b760385-9c30-4b75-ad88-333a2c01c1cf",
"StudentNo": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"IDCard": "sample string 5",
"UserPic": "sample string 6",
"DateOfBirth": "2026-06-02T05:35:20.2283537+07:00",
"Sex": "sample string 7",
"Address1": "sample string 8",
"Address2": "sample string 9",
"SubDistrictID": "26ff1981-946c-4a35-a5f5-56e26b6f7b9f",
"DistrictID": "369ef250-c808-4fdf-91e5-cc5f20e9635a",
"ProvinceID": "823776a0-1b48-4100-a9e7-423bc1e46c2f",
"Country": "sample string 10",
"ZipCode": "sample string 11",
"Tel": "sample string 12",
"Email": "sample string 13",
"ParentName1": "sample string 14",
"ParentSurname1": "sample string 15",
"ParentIDCard1": "sample string 16",
"ParentPhone1": "sample string 17",
"ParentRelation1": "sample string 18",
"ParentSecretcode1": "sample string 19",
"ParentName2": "sample string 20",
"ParentSurname2": "sample string 21",
"ParentIDCard2": "sample string 22",
"ParentPhone2": "sample string 23",
"ParentRelation2": "sample string 24",
"ParentSecretcode2": "sample string 25",
"ParentName3": "sample string 26",
"ParentSurname3": "sample string 27",
"ParentIDCard3": "sample string 28",
"ParentPhone3": "sample string 29",
"ParentRelation3": "sample string 30",
"ParentSecretcode3": "sample string 31",
"IsActive": 32,
"CreateBy": "sample string 33",
"CreateDate": "2026-06-02T05:35:20.2283537+07:00",
"UpdateBy": "sample string 34",
"UpdateDate": "2026-06-02T05:35:20.2283537+07:00"
}
application/xml, text/xml
Sample:
<StudentsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Models"> <Address1>sample string 8</Address1> <Address2>sample string 9</Address2> <BusID>bf754386-7f40-4c8a-84a7-96fcff95b3a4</BusID> <BusIDEvening>262dd679-db72-421b-941c-1c6f268b8875</BusIDEvening> <Country>sample string 10</Country> <CreateBy>sample string 33</CreateBy> <CreateDate>2026-06-02T05:35:20.2283537+07:00</CreateDate> <DateOfBirth>2026-06-02T05:35:20.2283537+07:00</DateOfBirth> <DistrictID>369ef250-c808-4fdf-91e5-cc5f20e9635a</DistrictID> <Email>sample string 13</Email> <FirstName>sample string 3</FirstName> <IDCard>sample string 5</IDCard> <IsActive>32</IsActive> <LastName>sample string 4</LastName> <ParentIDCard1>sample string 16</ParentIDCard1> <ParentIDCard2>sample string 22</ParentIDCard2> <ParentIDCard3>sample string 28</ParentIDCard3> <ParentName1>sample string 14</ParentName1> <ParentName2>sample string 20</ParentName2> <ParentName3>sample string 26</ParentName3> <ParentPhone1>sample string 17</ParentPhone1> <ParentPhone2>sample string 23</ParentPhone2> <ParentPhone3>sample string 29</ParentPhone3> <ParentRelation1>sample string 18</ParentRelation1> <ParentRelation2>sample string 24</ParentRelation2> <ParentRelation3>sample string 30</ParentRelation3> <ParentSecretcode1>sample string 19</ParentSecretcode1> <ParentSecretcode2>sample string 25</ParentSecretcode2> <ParentSecretcode3>sample string 31</ParentSecretcode3> <ParentSurname1>sample string 15</ParentSurname1> <ParentSurname2>sample string 21</ParentSurname2> <ParentSurname3>sample string 27</ParentSurname3> <ProvinceID>823776a0-1b48-4100-a9e7-423bc1e46c2f</ProvinceID> <SchoolID>5b760385-9c30-4b75-ad88-333a2c01c1cf</SchoolID> <Sex>sample string 7</Sex> <StudentID>337efdb9-03b0-4008-b071-bb6a56eb63fb</StudentID> <StudentNo>sample string 2</StudentNo> <SubDistrictID>26ff1981-946c-4a35-a5f5-56e26b6f7b9f</SubDistrictID> <Tel>sample string 12</Tel> <UpdateBy>sample string 34</UpdateBy> <UpdateDate>2026-06-02T05:35:20.2283537+07:00</UpdateDate> <UserPic>sample string 6</UserPic> <ZipCode>sample string 11</ZipCode> </StudentsInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StudentsInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentID | globally unique identifier |
None. |
|
| BusID | globally unique identifier |
None. |
|
| BusIDEvening | globally unique identifier |
None. |
|
| SchoolID | globally unique identifier |
None. |
|
| StudentNo | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| IDCard | string |
None. |
|
| UserPic | string |
None. |
|
| DateOfBirth | date |
None. |
|
| Sex | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| SubDistrictID | globally unique identifier |
None. |
|
| DistrictID | globally unique identifier |
None. |
|
| ProvinceID | globally unique identifier |
None. |
|
| Country | string |
None. |
|
| ZipCode | string |
None. |
|
| Tel | string |
None. |
|
| string |
None. |
||
| ParentName1 | string |
None. |
|
| ParentSurname1 | string |
None. |
|
| ParentIDCard1 | string |
None. |
|
| ParentPhone1 | string |
None. |
|
| ParentRelation1 | string |
None. |
|
| ParentSecretcode1 | string |
None. |
|
| ParentName2 | string |
None. |
|
| ParentSurname2 | string |
None. |
|
| ParentIDCard2 | string |
None. |
|
| ParentPhone2 | string |
None. |
|
| ParentRelation2 | string |
None. |
|
| ParentSecretcode2 | string |
None. |
|
| ParentName3 | string |
None. |
|
| ParentSurname3 | string |
None. |
|
| ParentIDCard3 | string |
None. |
|
| ParentPhone3 | string |
None. |
|
| ParentRelation3 | string |
None. |
|
| ParentSecretcode3 | string |
None. |
|
| IsActive | integer |
None. |
|
| CreateBy | string |
None. |
|
| CreateDate | date |
None. |
|
| UpdateBy | string |
None. |
|
| UpdateDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"StudentID": "21d741c0-12e8-41af-9729-1945bb46653c",
"BusID": "114386dc-8d4f-41e9-b1dd-8cf98023a511",
"BusIDEvening": "9ddb04bd-7e36-4032-822c-66c4b85263c8",
"SchoolID": "eaafdccb-bfec-418d-85a2-5d5b1192fa7d",
"StudentNo": "sample string 2",
"FirstName": "sample string 3",
"LastName": "sample string 4",
"IDCard": "sample string 5",
"UserPic": "sample string 6",
"DateOfBirth": "2026-06-02T05:35:20.2283537+07:00",
"Sex": "sample string 7",
"Address1": "sample string 8",
"Address2": "sample string 9",
"SubDistrictID": "8b0d7baa-fa15-4bdb-9c6a-0a6c6b04a37b",
"DistrictID": "3019d8c8-7490-41c9-85b7-07b79b3080b6",
"ProvinceID": "bdf4df3d-711e-410e-ac5b-024d8d939329",
"Country": "sample string 10",
"ZipCode": "sample string 11",
"Tel": "sample string 12",
"Email": "sample string 13",
"ParentName1": "sample string 14",
"ParentSurname1": "sample string 15",
"ParentIDCard1": "sample string 16",
"ParentPhone1": "sample string 17",
"ParentRelation1": "sample string 18",
"ParentSecretcode1": "sample string 19",
"ParentName2": "sample string 20",
"ParentSurname2": "sample string 21",
"ParentIDCard2": "sample string 22",
"ParentPhone2": "sample string 23",
"ParentRelation2": "sample string 24",
"ParentSecretcode2": "sample string 25",
"ParentName3": "sample string 26",
"ParentSurname3": "sample string 27",
"ParentIDCard3": "sample string 28",
"ParentPhone3": "sample string 29",
"ParentRelation3": "sample string 30",
"ParentSecretcode3": "sample string 31",
"IsActive": 32,
"CreateBy": "sample string 33",
"CreateDate": "2026-06-02T05:35:20.2283537+07:00",
"UpdateBy": "sample string 34",
"UpdateDate": "2026-06-02T05:35:20.2283537+07:00"
}
application/xml, text/xml
Sample:
<StudentsInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusAPI.Models"> <Address1>sample string 8</Address1> <Address2>sample string 9</Address2> <BusID>114386dc-8d4f-41e9-b1dd-8cf98023a511</BusID> <BusIDEvening>9ddb04bd-7e36-4032-822c-66c4b85263c8</BusIDEvening> <Country>sample string 10</Country> <CreateBy>sample string 33</CreateBy> <CreateDate>2026-06-02T05:35:20.2283537+07:00</CreateDate> <DateOfBirth>2026-06-02T05:35:20.2283537+07:00</DateOfBirth> <DistrictID>3019d8c8-7490-41c9-85b7-07b79b3080b6</DistrictID> <Email>sample string 13</Email> <FirstName>sample string 3</FirstName> <IDCard>sample string 5</IDCard> <IsActive>32</IsActive> <LastName>sample string 4</LastName> <ParentIDCard1>sample string 16</ParentIDCard1> <ParentIDCard2>sample string 22</ParentIDCard2> <ParentIDCard3>sample string 28</ParentIDCard3> <ParentName1>sample string 14</ParentName1> <ParentName2>sample string 20</ParentName2> <ParentName3>sample string 26</ParentName3> <ParentPhone1>sample string 17</ParentPhone1> <ParentPhone2>sample string 23</ParentPhone2> <ParentPhone3>sample string 29</ParentPhone3> <ParentRelation1>sample string 18</ParentRelation1> <ParentRelation2>sample string 24</ParentRelation2> <ParentRelation3>sample string 30</ParentRelation3> <ParentSecretcode1>sample string 19</ParentSecretcode1> <ParentSecretcode2>sample string 25</ParentSecretcode2> <ParentSecretcode3>sample string 31</ParentSecretcode3> <ParentSurname1>sample string 15</ParentSurname1> <ParentSurname2>sample string 21</ParentSurname2> <ParentSurname3>sample string 27</ParentSurname3> <ProvinceID>bdf4df3d-711e-410e-ac5b-024d8d939329</ProvinceID> <SchoolID>eaafdccb-bfec-418d-85a2-5d5b1192fa7d</SchoolID> <Sex>sample string 7</Sex> <StudentID>21d741c0-12e8-41af-9729-1945bb46653c</StudentID> <StudentNo>sample string 2</StudentNo> <SubDistrictID>8b0d7baa-fa15-4bdb-9c6a-0a6c6b04a37b</SubDistrictID> <Tel>sample string 12</Tel> <UpdateBy>sample string 34</UpdateBy> <UpdateDate>2026-06-02T05:35:20.2283537+07:00</UpdateDate> <UserPic>sample string 6</UserPic> <ZipCode>sample string 11</ZipCode> </StudentsInfo>