POST api/import/process
Request Information
URI Parameters
None.
Body Parameters
StudentImport| Name | Description | Type | Additional information |
|---|---|---|---|
| Students | Collection of StudentImportModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Students": [
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Gender": "sample string 3",
"GradeLevel": 4,
"StaffId": 5,
"CustomerId": 6,
"SSID": 1,
"SchoolName": "sample string 7",
"Tutor": "sample string 8"
},
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Gender": "sample string 3",
"GradeLevel": 4,
"StaffId": 5,
"CustomerId": 6,
"SSID": 1,
"SchoolName": "sample string 7",
"Tutor": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<StudentImport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Objects.StudentObjects.StudentModels.InputModel">
<Students>
<StudentImportModel>
<CustomerId>6</CustomerId>
<FirstName>sample string 1</FirstName>
<Gender>sample string 3</Gender>
<GradeLevel>4</GradeLevel>
<LastName>sample string 2</LastName>
<SSID>1</SSID>
<SchoolName>sample string 7</SchoolName>
<StaffId>5</StaffId>
<Tutor>sample string 8</Tutor>
</StudentImportModel>
<StudentImportModel>
<CustomerId>6</CustomerId>
<FirstName>sample string 1</FirstName>
<Gender>sample string 3</Gender>
<GradeLevel>4</GradeLevel>
<LastName>sample string 2</LastName>
<SSID>1</SSID>
<SchoolName>sample string 7</SchoolName>
<StaffId>5</StaffId>
<Tutor>sample string 8</Tutor>
</StudentImportModel>
</Students>
</StudentImport>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StudentImportResultsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalRows | integer |
None. |
|
| TotalInserts | integer |
None. |
|
| TotalUpdates | integer |
None. |
|
| TotalFailed | integer |
None. |
|
| FailedImports | Collection of Student |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.