GET Api/TemplateOfPeriodicServices/GetForParent/{organizationalUnitId}/{currentPage}/{itemsPerPage}
Pobiera listę wszystkich obiektów TemplateOfPeriodicService
Request Information
URI Parameters
Name | Description | Type | Additional 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 TemplateOfPeriodicService w bazie danych
Collection of TemplateOfPeriodicServiceDtoName | Description | Type | Additional information |
---|---|---|---|
TemplateOfPeriodicServiceId | integer |
Required |
|
OrganizationalUnitId | integer |
Required |
|
Name | string |
Required |
|
Description | string |
None. |
|
UnitForServiceId | integer |
Required |
|
PreviousPayment | date |
None. |
|
NextPayment | date |
None. |
|
Period | integer |
Required |
|
TypeOfPeriodId | integer |
Required |
|
PriceBasic | decimal number |
Required |
|
PricePerHour | decimal number |
Required |
|
AdditionalHourTitle | string |
None. |
|
VatForHourId | integer |
Required |
|
UnitForHourId | integer |
Required |
|
HoursInPrice | decimal number |
Required |
|
VatForServiceId | integer |
Required |
|
IsSupport | boolean |
None. |
|
CreationDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "templateOfPeriodicServiceId": 1, "organizationalUnitId": 2, "name": "sample string 3", "description": "sample string 4", "unitForServiceId": 5, "previousPayment": "2024-05-18T07:12:32.1144253+00:00", "nextPayment": "2024-05-18T07:12:32.1144253+00:00", "period": 6, "typeOfPeriodId": 7, "priceBasic": 8.1, "pricePerHour": 9.1, "additionalHourTitle": "sample string 10", "vatForHourId": 11, "unitForHourId": 12, "hoursInPrice": 13.1, "vatForServiceId": 14, "isSupport": true, "creationDate": "2024-05-18T07:12:32.1144253+00:00" }, { "templateOfPeriodicServiceId": 1, "organizationalUnitId": 2, "name": "sample string 3", "description": "sample string 4", "unitForServiceId": 5, "previousPayment": "2024-05-18T07:12:32.1144253+00:00", "nextPayment": "2024-05-18T07:12:32.1144253+00:00", "period": 6, "typeOfPeriodId": 7, "priceBasic": 8.1, "pricePerHour": 9.1, "additionalHourTitle": "sample string 10", "vatForHourId": 11, "unitForHourId": 12, "hoursInPrice": 13.1, "vatForServiceId": 14, "isSupport": true, "creationDate": "2024-05-18T07:12:32.1144253+00:00" } ]
multipart/form-data
Sample:
[{"templateOfPeriodicServiceId":1,"organizationalUnitId":2,"name":"sample string 3","description":"sample string 4","unitForServiceId":5,"previousPayment":"2024-05-18T07:12:32.1144253+00:00","nextPayment":"2024-05-18T07:12:32.1144253+00:00","period":6,"typeOfPeriodId":7,"priceBasic":8.1,"pricePerHour":9.1,"additionalHourTitle":"sample string 10","vatForHourId":11,"unitForHourId":12,"hoursInPrice":13.1,"vatForServiceId":14,"isSupport":true,"creationDate":"2024-05-18T07:12:32.1144253+00:00"},{"templateOfPeriodicServiceId":1,"organizationalUnitId":2,"name":"sample string 3","description":"sample string 4","unitForServiceId":5,"previousPayment":"2024-05-18T07:12:32.1144253+00:00","nextPayment":"2024-05-18T07:12:32.1144253+00:00","period":6,"typeOfPeriodId":7,"priceBasic":8.1,"pricePerHour":9.1,"additionalHourTitle":"sample string 10","vatForHourId":11,"unitForHourId":12,"hoursInPrice":13.1,"vatForServiceId":14,"isSupport":true,"creationDate":"2024-05-18T07:12:32.1144253+00:00"}]
application/xml, text/xml
Sample:
<ArrayOfTemplateOfPeriodicServiceDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TemplateOfPeriodicServiceDto> <TemplateOfPeriodicServiceId>1</TemplateOfPeriodicServiceId> <OrganizationalUnitId>2</OrganizationalUnitId> <Name>sample string 3</Name> <Description>sample string 4</Description> <UnitForServiceId>5</UnitForServiceId> <PreviousPayment /> <NextPayment /> <Period>6</Period> <TypeOfPeriodId>7</TypeOfPeriodId> <PriceBasic>8.1</PriceBasic> <PricePerHour>9.1</PricePerHour> <AdditionalHourTitle>sample string 10</AdditionalHourTitle> <VatForHourId>11</VatForHourId> <UnitForHourId>12</UnitForHourId> <HoursInPrice>13.1</HoursInPrice> <VatForServiceId>14</VatForServiceId> <IsSupport>true</IsSupport> <CreationDate /> </TemplateOfPeriodicServiceDto> <TemplateOfPeriodicServiceDto> <TemplateOfPeriodicServiceId>1</TemplateOfPeriodicServiceId> <OrganizationalUnitId>2</OrganizationalUnitId> <Name>sample string 3</Name> <Description>sample string 4</Description> <UnitForServiceId>5</UnitForServiceId> <PreviousPayment /> <NextPayment /> <Period>6</Period> <TypeOfPeriodId>7</TypeOfPeriodId> <PriceBasic>8.1</PriceBasic> <PricePerHour>9.1</PricePerHour> <AdditionalHourTitle>sample string 10</AdditionalHourTitle> <VatForHourId>11</VatForHourId> <UnitForHourId>12</UnitForHourId> <HoursInPrice>13.1</HoursInPrice> <VatForServiceId>14</VatForServiceId> <IsSupport>true</IsSupport> <CreationDate /> </TemplateOfPeriodicServiceDto> </ArrayOfTemplateOfPeriodicServiceDto>