PUT Api/WorkflowDocuments/{id}

Edytuje obiekt WorkflowDocument

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

identyfikator modyfikowanego obiektu

integer

Required

Body Parameters

obiekt wraz ze wszystkimi wartoĊ›ciami

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

multipart/form-data

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

None.