POST api/documents/user/{userId}/uploadproductdocs/{pid}

Upload drawing document(s) for a RFQ

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pid

integer

Required

userId

string

None.

Body Parameters

None.

Response Information

Resource Description

DocumentDTO
NameDescriptionTypeAdditional information
Id

Doc Id

integer

None.

ProductId

Product Id

integer

None.

OrderId

Order Id

integer

None.

TaskId

Task Id

integer

None.

Name

Document Name

string

None.

Version

Document Version

integer

None.

DocUri

Document Uri (Azure Blob URL)

string

None.

DocType

Document Type

integer

None.

IsLocked

Is Doc is locked

boolean

None.

CreatedUtc

Doc created Utc datetime

date

None.

UpdatedBy

Doc updated by user name

string

None.

ModifiedUtc

Doc modified Utc datetime

date

None.

UserType

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "productId": 2,
  "orderId": 1,
  "taskId": 1,
  "name": "sample string 3",
  "version": 4,
  "docUri": "sample string 5",
  "docType": 1,
  "isLocked": true,
  "createdUtc": "2026-01-12T15:39:28.6775066+00:00",
  "updatedBy": "sample string 7",
  "modifiedUtc": "2026-01-12T15:39:28.6775066+00:00",
  "userType": 1
}