GET Api/WorkflowDocuments/GetForParent/{profileId}/{currentPage}/{itemsPerPage}

Pobiera listę wszystkich obiektów WorkflowDocument

Request Information

URI Parameters

NameDescriptionTypeAdditional information
profileId

identyfikator obiektu nadrzędnego Profile

string

Required

currentPage

numer aktualnej strony

integer

Default value is 0

itemsPerPage

ilość elementów na stronie

integer

Default value is 2147483647

Body Parameters

None.

Response Information

Resource Description

lista wszystkich obiektów WorkflowDocument w bazie danych

Collection of 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:25:18.0821389+00:00",
    "requestPersonId": "sample string 5",
    "updatePersonId": "sample string 6",
    "beginDate": "2024-05-18T07:25:18.0821389+00:00",
    "finishDate": "2024-05-18T07:25:18.0821389+00:00",
    "receivedDate": "2024-05-18T07:25:18.0821389+00:00",
    "workStartDate": "2024-05-18T07:25:18.0821389+00:00"
  },
  {
    "workflowDocumentId": 1,
    "typeOfWorkflowDocumentId": 2,
    "profileId": "sample string 3",
    "requestDate": "2024-05-18T07:25:18.0821389+00:00",
    "requestPersonId": "sample string 5",
    "updatePersonId": "sample string 6",
    "beginDate": "2024-05-18T07:25:18.0821389+00:00",
    "finishDate": "2024-05-18T07:25:18.0821389+00:00",
    "receivedDate": "2024-05-18T07:25:18.0821389+00:00",
    "workStartDate": "2024-05-18T07:25:18.0821389+00:00"
  }
]

multipart/form-data

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

application/xml, text/xml

Sample:
<ArrayOfWorkflowDocumentDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WorkflowDocumentDto>
    <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>
  <WorkflowDocumentDto>
    <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>
</ArrayOfWorkflowDocumentDto>