POST api/v1/pg_Passport

Request Information

URI Parameters

None.

Body Parameters

Pg_PassportVM
NameDescriptionTypeAdditional information
passportId

integer

None.

fileName

string

None.

fileType

string

None.

fileExtention

string

None.

fileLink

string

None.

fileData

Collection of byte

None.

studentId

integer

None.

tenantId

integer

None.

dateCreated

date

None.

applicationNumber

string

None.

createdBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "passportId": 1,
  "fileName": "sample string 2",
  "fileType": "sample string 3",
  "fileExtention": "sample string 4",
  "fileLink": "sample string 5",
  "fileData": "QEA=",
  "studentId": 1,
  "tenantId": 1,
  "dateCreated": "2024-09-19T09:13:29.4354322-07:00",
  "applicationNumber": "sample string 6",
  "createdBy": 7
}

application/xml, text/xml

Sample:
<Pg_PassportVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <applicationNumber>sample string 6</applicationNumber>
  <createdBy>7</createdBy>
  <dateCreated>2024-09-19T09:13:29.4354322-07:00</dateCreated>
  <fileData>QEA=</fileData>
  <fileExtention>sample string 4</fileExtention>
  <fileLink>sample string 5</fileLink>
  <fileName>sample string 2</fileName>
  <fileType>sample string 3</fileType>
  <passportId>1</passportId>
  <studentId>1</studentId>
  <tenantId>1</tenantId>
</Pg_PassportVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.