Delete Project Document

/api/ProjectDocument/DeleteProjectDocument

Query String

Parameter

Required

Value

pinProjectId

Mandatory

<PINProjectID>

Request Header

Parameter

Required

Value

TokenKey

Mandatory

User Input

Accept-Language

Optional

en-US

Accept-Encoding

Optional

gzip

Content-Type

Mandatory

application/json

Request Body

Parameter

Required

Value

  • ProjectDocument

Mandatory

ProjectFolderID, ProjectDocumentID, Filesize

Sample Body

[
  {
    "ProjectFolderID": "<ProjectFolderID>",
    "ProjectDocumentID": "<ProjectDocumentID>",
    "Filesize": "<Filesize>"
  },
  {
    "ProjectFolderID": "<ProjectFolderID>",
    "ProjectDocumentID": "<ProjectDocumentID>",
    "Filesize": "<Filesize>"
  },
  {
    "ProjectFolderID": "<ProjectFolderID>",
    "ProjectDocumentID": "<ProjectDocumentID>",
    "Filesize": "<Filesize>"
  }
]

Entity : Project Document

Property Name

Description

ProjectFolderID

Integer

PINProjectID

Integer

ProjectDocumentID

Integer

CurrentCheckOutStatus

Integer

DocumentTitle

String

DocumentName

String

SearchTag

String

OriginalFileName

String

OriginalExtension

String

Filesize

String (in bytes)

UploadStatus

Byte [Nullable]

RevisionDate

DateTime [Nullable]

RevisionNumber

Integer [Nullable]

RevisionRemarks

String

RevisedBy

User

UploadUrl

String

CheckedBy

User

ExpiryDate

DateTime [Nullable]

ShareLink

String

IsMarkupExists

Boolean

MarkupCount

Integer [Nullable]

PathName

String

PathFolderID

String

Permission

Permission

Download

String

AWSDownload

String

View

String

StorageID

Integer

CustomProperties

IEnumerable<CustomProperty>

Remarks

  1. FileSize is in bytes.

  2. Response header parameter Failed–Deletion will contain those document ids which are not deleted.