POST api/documents

Create a new document

Request Information

URI Parameters

None.

Body Parameters

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.

Request 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:36:27.2126823+00:00",
  "updatedBy": "sample string 7",
  "modifiedUtc": "2026-01-12T15:36:27.2126823+00:00",
  "userType": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:

Sample not available.

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:36:27.2439304+00:00",
  "updatedBy": "sample string 7",
  "modifiedUtc": "2026-01-12T15:36:27.2439304+00:00",
  "userType": 1
}