POST api/StudentConfig
Request Information
URI Parameters
None.
Body Parameters
MPW.DataAccess.Models.StudentConfigModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LanguageMapping | Collection of MPW.Entities.DataAccess.ImportMapping |
None. |
|
| MealsStatusMapping | Collection of MPW.Entities.DataAccess.ImportMapping |
None. |
|
| SiteMapping | Collection of MPW.Entities.DataAccess.ImportMapping |
None. |
|
| GradeMapping | Collection of MPW.Entities.DataAccess.ImportMapping |
None. |
|
| ImportStudentHeader | MPW.DataAccess.Models.ImportStudentHeaderModel |
None. |
|
| ImportStudentDetailsList | Collection of MPW.Entities.DataAccess.ImportStudentDetail |
None. |
|
| importSchedule | MPW.DataAccess.Models.ImportSchedule |
None. |
Request Formats
application/json, text/json
Sample:
{
"LanguageMapping": [
{
"Id": 1,
"InternalField": "sample string 2",
"ExternalField": "sample string 3",
"MappingTypeId": 4,
"HeaderId": 5
},
{
"Id": 1,
"InternalField": "sample string 2",
"ExternalField": "sample string 3",
"MappingTypeId": 4,
"HeaderId": 5
}
],
"MealsStatusMapping": [
{
"Id": 1,
"InternalField": "sample string 2",
"ExternalField": "sample string 3",
"MappingTypeId": 4,
"HeaderId": 5
},
{
"Id": 1,
"InternalField": "sample string 2",
"ExternalField": "sample string 3",
"MappingTypeId": 4,
"HeaderId": 5
}
],
"SiteMapping": [
{
"Id": 1,
"InternalField": "sample string 2",
"ExternalField": "sample string 3",
"MappingTypeId": 4,
"HeaderId": 5
},
{
"Id": 1,
"InternalField": "sample string 2",
"ExternalField": "sample string 3",
"MappingTypeId": 4,
"HeaderId": 5
}
],
"GradeMapping": [
{
"Id": 1,
"InternalField": "sample string 2",
"ExternalField": "sample string 3",
"MappingTypeId": 4,
"HeaderId": 5
},
{
"Id": 1,
"InternalField": "sample string 2",
"ExternalField": "sample string 3",
"MappingTypeId": 4,
"HeaderId": 5
}
],
"ImportStudentHeader": {
"Id": 1,
"Description": "sample string 2",
"FileName": "sample string 3",
"FileFormat": 4,
"Delimiter": "sample string 5",
"IsFirstRowHeader": true,
"IsWithdrawNotInFile": true,
"EnrolledValue": "sample string 8",
"EnrollStatus": "sample string 9",
"WithdrawnValue": "sample string 10",
"ImportTypeId": 11,
"UseMappedValue": true,
"DC_DefaultCaseType": "sample string 13",
"DC_ImportTypeId": 14,
"FileEncoding": 15
},
"ImportStudentDetailsList": [
{
"Id": 1,
"HeaderId": 1,
"FieldName": "sample string 2",
"ColumnNumber": 1,
"LeftCol": 1,
"RightCol": 1
},
{
"Id": 1,
"HeaderId": 1,
"FieldName": "sample string 2",
"ColumnNumber": 1,
"LeftCol": 1,
"RightCol": 1
}
],
"importSchedule": {
"Hour": 1,
"Minute": 2,
"AMorPM": "sample string 3",
"DaysOfTheWeek": [
1,
2
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |