PUT api/v1/hR_EmployeePassport/{employeePassportId}/employeePassportId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeePassportId

integer

Required

Body Parameters

HR_EmployeePassportVM
NameDescriptionTypeAdditional information
employeePassportId

integer

None.

documentTypeId

integer

None.

fileName

string

None.

fileType

string

None.

fileExtention

string

None.

fileLink

string

None.

fileData

Collection of byte

None.

targetId

integer

None.

roleId

integer

None.

description

string

None.

tenantId

integer

None.

dateCreated

date

None.

admissionRequireDocumentId

integer

None.

referenceNumber

string

None.

createdBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "employeePassportId": 1,
  "documentTypeId": 1,
  "fileName": "sample string 2",
  "fileType": "sample string 3",
  "fileExtention": "sample string 4",
  "fileLink": "sample string 5",
  "fileData": "QEA=",
  "targetId": 1,
  "roleId": 1,
  "description": "sample string 6",
  "tenantId": 1,
  "dateCreated": "2024-11-24T08:45:56.3307322-08:00",
  "admissionRequireDocumentId": 1,
  "referenceNumber": "sample string 7",
  "createdBy": 8
}

application/xml, text/xml

Sample:
<HR_EmployeePassportVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <admissionRequireDocumentId>1</admissionRequireDocumentId>
  <createdBy>8</createdBy>
  <dateCreated>2024-11-24T08:45:56.3307322-08:00</dateCreated>
  <description>sample string 6</description>
  <documentTypeId>1</documentTypeId>
  <employeePassportId>1</employeePassportId>
  <fileData>QEA=</fileData>
  <fileExtention>sample string 4</fileExtention>
  <fileLink>sample string 5</fileLink>
  <fileName>sample string 2</fileName>
  <fileType>sample string 3</fileType>
  <referenceNumber>sample string 7</referenceNumber>
  <roleId>1</roleId>
  <targetId>1</targetId>
  <tenantId>1</tenantId>
</HR_EmployeePassportVM>

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.