POST Users/SavePassport
Request Information
URI Parameters
None.
Body Parameters
StudentPassportDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| PassportData | Collection of byte |
Required |
|
| ImageType | string |
Required Matching regular expression pattern: jpeg|jpg|png |
|
| ImageSize | integer |
Required Range: inclusive between 0 and 2097152 |
|
| IsApplication | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PassportData": "QEA=",
"ImageType": "sample string 1",
"ImageSize": 2,
"IsApplication": true
}
application/xml, text/xml
Sample:
<StudentPassportDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudentPortalAPI.EntityDTOs.Students"> <ImageSize>2</ImageSize> <ImageType>sample string 1</ImageType> <IsApplication>true</IsApplication> <PassportData>QEA=</PassportData> </StudentPassportDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.