DELETE Api/WorkflowDocuments/{id}

Usuwa asynchronicznie obiekt WorkflowDocument z bazy danych

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

identyfikator obiektu

integer

Required

Body Parameters

None.

Response Information

Resource Description

WorkflowDocumentDto
NameDescriptionTypeAdditional information
WorkflowDocumentId

integer

Required

TypeOfWorkflowDocumentId

integer

Required

ProfileId

string

Required

RequestDate

date

Required

RequestPersonId

string

None.

UpdatePersonId

string

None.

BeginDate

date

None.

FinishDate

date

None.

ReceivedDate

date

None.

WorkStartDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "workflowDocumentId": 1,
  "typeOfWorkflowDocumentId": 2,
  "profileId": "sample string 3",
  "requestDate": "2024-05-18T07:53:31.0515758+00:00",
  "requestPersonId": "sample string 5",
  "updatePersonId": "sample string 6",
  "beginDate": "2024-05-18T07:53:31.0515758+00:00",
  "finishDate": "2024-05-18T07:53:31.0515758+00:00",
  "receivedDate": "2024-05-18T07:53:31.0515758+00:00",
  "workStartDate": "2024-05-18T07:53:31.0515758+00:00"
}

multipart/form-data

Sample:
{"workflowDocumentId":1,"typeOfWorkflowDocumentId":2,"profileId":"sample string 3","requestDate":"2024-05-18T07:53:31.0515758+00:00","requestPersonId":"sample string 5","updatePersonId":"sample string 6","beginDate":"2024-05-18T07:53:31.0515758+00:00","finishDate":"2024-05-18T07:53:31.0515758+00:00","receivedDate":"2024-05-18T07:53:31.0515758+00:00","workStartDate":"2024-05-18T07:53:31.0515758+00:00"}

application/xml, text/xml

Sample:
<WorkflowDocumentDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WorkflowDocumentId>1</WorkflowDocumentId>
  <TypeOfWorkflowDocumentId>2</TypeOfWorkflowDocumentId>
  <ProfileId>sample string 3</ProfileId>
  <RequestDate />
  <RequestPersonId>sample string 5</RequestPersonId>
  <UpdatePersonId>sample string 6</UpdatePersonId>
  <BeginDate />
  <FinishDate />
  <ReceivedDate />
  <WorkStartDate />
</WorkflowDocumentDto>