POST api/application/saveeducationalhistory
Request Information
URI Parameters
None.
Body Parameters
Collection of ApplicantEducationalHistoryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| EducationalHistoryID | integer |
Required |
|
| Name | string |
Required |
|
| Address | string |
Required |
|
| From | integer |
Required |
|
| To | integer |
Required |
|
| TypeOfSchool | PreviousSchoolType |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"educationalHistoryID": 1,
"name": "sample string 2",
"address": "sample string 3",
"from": 4,
"to": 5,
"typeOfSchool": 0
},
{
"educationalHistoryID": 1,
"name": "sample string 2",
"address": "sample string 3",
"from": 4,
"to": 5,
"typeOfSchool": 0
}
]
text/html
Sample:
[{"educationalHistoryID":1,"name":"sample string 2","address":"sample string 3","from":4,"to":5,"typeOfSchool":0},{"educationalHistoryID":1,"name":"sample string 2","address":"sample string 3","from":4,"to":5,"typeOfSchool":0}]
text/xml
Sample:
<ArrayOfApplicantEducationalHistoryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApplicationPortalAPI.Models.DTOs.Application">
<ApplicantEducationalHistoryDTO>
<Address>sample string 3</Address>
<EducationalHistoryID>1</EducationalHistoryID>
<From>4</From>
<Name>sample string 2</Name>
<To>5</To>
<TypeOfSchool>NotSet</TypeOfSchool>
</ApplicantEducationalHistoryDTO>
<ApplicantEducationalHistoryDTO>
<Address>sample string 3</Address>
<EducationalHistoryID>1</EducationalHistoryID>
<From>4</From>
<Name>sample string 2</Name>
<To>5</To>
<TypeOfSchool>NotSet</TypeOfSchool>
</ApplicantEducationalHistoryDTO>
</ArrayOfApplicantEducationalHistoryDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResponseOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| HttpStatusCode | HttpStatusCode |
None. |
|
| ResponseMessage | string |
None. |
|
| HasError | boolean |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"httpStatusCode": 100,
"responseMessage": "sample string 1",
"hasError": true,
"data": "sample string 3"
}
text/html
Sample:
{"httpStatusCode":100,"responseMessage":"sample string 1","hasError":true,"data":"sample string 3"}
text/xml
Sample:
<ServiceResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApplicationPortalAPI.Models"> <Data>sample string 3</Data> <HasError>true</HasError> <HttpStatusCode>Continue</HttpStatusCode> <ResponseMessage>sample string 1</ResponseMessage> </ServiceResponseOfstring>