POST api/v{version}/Student/AddStudents
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
StudentBindingModelName | Description | Type | Additional information |
---|---|---|---|
StudentId | integer |
None. |
|
DistrictId | string |
Required |
|
StudentNumber | string |
Required |
|
StudentLastName | string |
Required |
|
StudentImage | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "StudentId": 1, "DistrictId": "sample string 2", "StudentNumber": "sample string 3", "StudentLastName": "sample string 4", "StudentImage": "sample string 5" }
application/xml, text/xml
Sample:
<StudentBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/K12.Shared.APIModels"> <DistrictId>sample string 2</DistrictId> <StudentId>1</StudentId> <StudentImage>sample string 5</StudentImage> <StudentLastName>sample string 4</StudentLastName> <StudentNumber>sample string 3</StudentNumber> </StudentBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OperationResultName | Description | Type | Additional information |
---|---|---|---|
result | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "result": "sample string 1" }
application/xml, text/xml
Sample:
<OperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/K12.Shared.Models"> <Result>sample string 1</Result> </OperationResult>