POST Api/WorkflowDocuments

Dodaje asynchronicznie nowy obiekt WorkflowDocument do bazy danych

Request Information

URI Parameters

None.

Body Parameters

nowy obiekt

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.

Request Formats

application/json, text/json

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

multipart/form-data

Sample:
{"workflowDocumentId":1,"typeOfWorkflowDocumentId":2,"profileId":"sample string 3","requestDate":"2024-05-18T03:52:29.6130387+00:00","requestPersonId":"sample string 5","updatePersonId":"sample string 6","beginDate":"2024-05-18T03:52:29.6130387+00:00","finishDate":"2024-05-18T03:52:29.6130387+00:00","receivedDate":"2024-05-18T03:52:29.6130387+00:00","workStartDate":"2024-05-18T03:52:29.6130387+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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

identyfikator nowo dodanego obiektu

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-18T03:52:29.629974+00:00",
  "requestPersonId": "sample string 5",
  "updatePersonId": "sample string 6",
  "beginDate": "2024-05-18T03:52:29.629974+00:00",
  "finishDate": "2024-05-18T03:52:29.629974+00:00",
  "receivedDate": "2024-05-18T03:52:29.629974+00:00",
  "workStartDate": "2024-05-18T03:52:29.629974+00:00"
}

multipart/form-data

Sample:
{"workflowDocumentId":1,"typeOfWorkflowDocumentId":2,"profileId":"sample string 3","requestDate":"2024-05-18T03:52:29.629974+00:00","requestPersonId":"sample string 5","updatePersonId":"sample string 6","beginDate":"2024-05-18T03:52:29.629974+00:00","finishDate":"2024-05-18T03:52:29.629974+00:00","receivedDate":"2024-05-18T03:52:29.629974+00:00","workStartDate":"2024-05-18T03:52:29.629974+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>