GET api/actions/workperiod?days={days}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| days | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WorkPeriodDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| startDate | date |
None. |
|
| endDate | date |
None. |
|
| date | date |
None. |
|
| maxEndDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"startDate": "2025-12-10T08:17:21.2462585+04:00",
"endDate": "2025-12-10T08:17:21.2462585+04:00",
"date": "2025-12-10T08:17:21.2462585+04:00",
"maxEndDate": "2025-12-10T08:17:21.2462585+04:00"
},
{
"startDate": "2025-12-10T08:17:21.2462585+04:00",
"endDate": "2025-12-10T08:17:21.2462585+04:00",
"date": "2025-12-10T08:17:21.2462585+04:00",
"maxEndDate": "2025-12-10T08:17:21.2462585+04:00"
}
]
text/html
Sample:
[{"startDate":"2025-12-10T08:17:21.2462585+04:00","endDate":"2025-12-10T08:17:21.2462585+04:00","date":"2025-12-10T08:17:21.2462585+04:00","maxEndDate":"2025-12-10T08:17:21.2462585+04:00"},{"startDate":"2025-12-10T08:17:21.2462585+04:00","endDate":"2025-12-10T08:17:21.2462585+04:00","date":"2025-12-10T08:17:21.2462585+04:00","maxEndDate":"2025-12-10T08:17:21.2462585+04:00"}]
application/xml, text/xml
Sample:
<ArrayOfWorkPeriodDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.DTO">
<WorkPeriodDTO>
<date>2025-12-10T08:17:21.2462585+04:00</date>
<endDate>2025-12-10T08:17:21.2462585+04:00</endDate>
<maxEndDate>2025-12-10T08:17:21.2462585+04:00</maxEndDate>
<startDate>2025-12-10T08:17:21.2462585+04:00</startDate>
</WorkPeriodDTO>
<WorkPeriodDTO>
<date>2025-12-10T08:17:21.2462585+04:00</date>
<endDate>2025-12-10T08:17:21.2462585+04:00</endDate>
<maxEndDate>2025-12-10T08:17:21.2462585+04:00</maxEndDate>
<startDate>2025-12-10T08:17:21.2462585+04:00</startDate>
</WorkPeriodDTO>
</ArrayOfWorkPeriodDTO>