GET Api/TypeOfWorkflowDocuments/GetForParent/{organizationalUnitId}/{currentPage}/{itemsPerPage}

Pobiera listę wszystkich obiektów TypeOfWorkflowDocument

Request Information

URI Parameters

NameDescriptionTypeAdditional information
organizationalUnitId

identyfikator obiektu nadrzędnego OrganizationalUnit

integer

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 TypeOfWorkflowDocument w bazie danych

Collection of TypeOfWorkflowDocumentDto
NameDescriptionTypeAdditional information
TypeOfWorkflowDocumentId

integer

Required

Name

string

Required

OrganizationalUnitId

integer

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "typeOfWorkflowDocumentId": 1,
    "name": "sample string 2",
    "organizationalUnitId": 3
  },
  {
    "typeOfWorkflowDocumentId": 1,
    "name": "sample string 2",
    "organizationalUnitId": 3
  }
]

multipart/form-data

Sample:
[{"typeOfWorkflowDocumentId":1,"name":"sample string 2","organizationalUnitId":3},{"typeOfWorkflowDocumentId":1,"name":"sample string 2","organizationalUnitId":3}]

application/xml, text/xml

Sample:
<ArrayOfTypeOfWorkflowDocumentDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TypeOfWorkflowDocumentDto>
    <TypeOfWorkflowDocumentId>1</TypeOfWorkflowDocumentId>
    <Name>sample string 2</Name>
    <OrganizationalUnitId>3</OrganizationalUnitId>
  </TypeOfWorkflowDocumentDto>
  <TypeOfWorkflowDocumentDto>
    <TypeOfWorkflowDocumentId>1</TypeOfWorkflowDocumentId>
    <Name>sample string 2</Name>
    <OrganizationalUnitId>3</OrganizationalUnitId>
  </TypeOfWorkflowDocumentDto>
</ArrayOfTypeOfWorkflowDocumentDto>