GET payroll/periods?skip={skip}&take={take}&year={year}&from={from}&to={to}&organizationalUnitId={organizationalUnitId}&paymentStatus={paymentStatus}&sort={sort}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
skip | integer |
Default value is 0 |
|
take | integer |
Default value is 50 |
|
year | integer |
None. |
|
from | date |
None. |
|
to | date |
None. |
|
organizationalUnitId | integer |
None. |
|
paymentStatus | integer |
None. |
|
sort | string |
None. |
Body Parameters
None.
Response Information
Resource Description
PagedDataOfPeriodName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of Period |
None. |
|
Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "ID": 1, "From": "2024-05-03T07:53:44.9129451+00:00", "To": "2024-05-03T07:53:44.9129451+00:00", "OrganizationalUnitID": 1, "Name": "sample string 4", "PaymentDate": "2024-05-03T07:53:44.9129451+00:00", "PointValue": 6.0, "FundHours": 7, "IsApproved": true, "IsPosted": true, "IsProtected": true, "IsEditable": true, "PaymentStatus": 12, "Audit": { "AddUser": 1, "AddTime": "2024-05-03T07:53:44.9129451+00:00", "EditUser": 1, "EditTime": "2024-05-03T07:53:44.9129451+00:00" } }, { "ID": 1, "From": "2024-05-03T07:53:44.9129451+00:00", "To": "2024-05-03T07:53:44.9129451+00:00", "OrganizationalUnitID": 1, "Name": "sample string 4", "PaymentDate": "2024-05-03T07:53:44.9129451+00:00", "PointValue": 6.0, "FundHours": 7, "IsApproved": true, "IsPosted": true, "IsProtected": true, "IsEditable": true, "PaymentStatus": 12, "Audit": { "AddUser": 1, "AddTime": "2024-05-03T07:53:44.9129451+00:00", "EditUser": 1, "EditTime": "2024-05-03T07:53:44.9129451+00:00" } } ], "Count": 1 }
text/xml
Sample:
<PagedDataOfPeriodrC_Pxhxna xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <Count>1</Count> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Payroll.Calculations"> <d2p1:Period> <d2p1:Audit> <AddTime>2024-05-03T07:53:44.9129451+00:00</AddTime> <AddUser>1</AddUser> <EditTime>2024-05-03T07:53:44.9129451+00:00</EditTime> <EditUser>1</EditUser> </d2p1:Audit> <d2p1:From>2024-05-03T07:53:44.9129451+00:00</d2p1:From> <d2p1:FundHours>7</d2p1:FundHours> <d2p1:ID>1</d2p1:ID> <d2p1:IsApproved>true</d2p1:IsApproved> <d2p1:IsEditable>true</d2p1:IsEditable> <d2p1:IsPosted>true</d2p1:IsPosted> <d2p1:IsProtected>true</d2p1:IsProtected> <d2p1:Name>sample string 4</d2p1:Name> <d2p1:OrganizationalUnitID>1</d2p1:OrganizationalUnitID> <d2p1:PaymentDate>2024-05-03T07:53:44.9129451+00:00</d2p1:PaymentDate> <d2p1:PaymentStatus>12</d2p1:PaymentStatus> <d2p1:PointValue>6</d2p1:PointValue> <d2p1:To>2024-05-03T07:53:44.9129451+00:00</d2p1:To> </d2p1:Period> <d2p1:Period> <d2p1:Audit> <AddTime>2024-05-03T07:53:44.9129451+00:00</AddTime> <AddUser>1</AddUser> <EditTime>2024-05-03T07:53:44.9129451+00:00</EditTime> <EditUser>1</EditUser> </d2p1:Audit> <d2p1:From>2024-05-03T07:53:44.9129451+00:00</d2p1:From> <d2p1:FundHours>7</d2p1:FundHours> <d2p1:ID>1</d2p1:ID> <d2p1:IsApproved>true</d2p1:IsApproved> <d2p1:IsEditable>true</d2p1:IsEditable> <d2p1:IsPosted>true</d2p1:IsPosted> <d2p1:IsProtected>true</d2p1:IsProtected> <d2p1:Name>sample string 4</d2p1:Name> <d2p1:OrganizationalUnitID>1</d2p1:OrganizationalUnitID> <d2p1:PaymentDate>2024-05-03T07:53:44.9129451+00:00</d2p1:PaymentDate> <d2p1:PaymentStatus>12</d2p1:PaymentStatus> <d2p1:PointValue>6</d2p1:PointValue> <d2p1:To>2024-05-03T07:53:44.9129451+00:00</d2p1:To> </d2p1:Period> </Data> </PagedDataOfPeriodrC_Pxhxna>