POST api/v1/workflow_DocumentUpload

Request Information

URI Parameters

None.

Body Parameters

Workflow_DocumentUploadVM
NameDescriptionTypeAdditional information
documentUploadId

integer

None.

documentTypeId

integer

None.

fileName

string

None.

fileType

string

None.

fileExtention

string

None.

fileLink

string

None.

fileData

Collection of byte

None.

requisitionId

integer

None.

description

string

None.

createdBy

integer

None.

dateCreated

date

None.

approvedBy

integer

None.

dateApproved

date

None.

isDeleted

boolean

None.

dateDeleted

date

None.

deleteBy

integer

None.

tenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "documentUploadId": 1,
  "documentTypeId": 1,
  "fileName": "sample string 2",
  "fileType": "sample string 3",
  "fileExtention": "sample string 4",
  "fileLink": "sample string 5",
  "fileData": "QEA=",
  "requisitionId": 1,
  "description": "sample string 6",
  "createdBy": 1,
  "dateCreated": "2024-11-24T08:53:53.1179638-08:00",
  "approvedBy": 1,
  "dateApproved": "2024-11-24T08:53:53.1179638-08:00",
  "isDeleted": true,
  "dateDeleted": "2024-11-24T08:53:53.1179638-08:00",
  "deleteBy": 1,
  "tenantId": 1
}

application/xml, text/xml

Sample:
<Workflow_DocumentUploadVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel">
  <approvedBy>1</approvedBy>
  <createdBy>1</createdBy>
  <dateApproved>2024-11-24T08:53:53.1179638-08:00</dateApproved>
  <dateCreated>2024-11-24T08:53:53.1179638-08:00</dateCreated>
  <dateDeleted>2024-11-24T08:53:53.1179638-08:00</dateDeleted>
  <deleteBy>1</deleteBy>
  <description>sample string 6</description>
  <documentTypeId>1</documentTypeId>
  <documentUploadId>1</documentUploadId>
  <fileData>QEA=</fileData>
  <fileExtention>sample string 4</fileExtention>
  <fileLink>sample string 5</fileLink>
  <fileName>sample string 2</fileName>
  <fileType>sample string 3</fileType>
  <isDeleted>true</isDeleted>
  <requisitionId>1</requisitionId>
  <tenantId>1</tenantId>
</Workflow_DocumentUploadVM>

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.