GET api/Resource/PreferenceBlock?currentDate={currentDate}&startDate={startDate}&endDate={endDate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| currentDate | date |
Required |
|
| startDate | date |
Required |
|
| endDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PreferenceBlockInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| PeriodID | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| OpenDate | date |
None. |
|
| CloseDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PeriodID": 1,
"StartDate": "2025-11-01T18:36:05.880587+01:00",
"EndDate": "2025-11-01T18:36:05.880587+01:00",
"OpenDate": "2025-11-01T18:36:05.880587+01:00",
"CloseDate": "2025-11-01T18:36:05.880587+01:00"
},
{
"PeriodID": 1,
"StartDate": "2025-11-01T18:36:05.880587+01:00",
"EndDate": "2025-11-01T18:36:05.880587+01:00",
"OpenDate": "2025-11-01T18:36:05.880587+01:00",
"CloseDate": "2025-11-01T18:36:05.880587+01:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfPreferenceBlockInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
<PreferenceBlockInfo>
<PeriodID>1</PeriodID>
<StartDate>2025-11-01T18:36:05.880587+01:00</StartDate>
<EndDate>2025-11-01T18:36:05.880587+01:00</EndDate>
<OpenDate>2025-11-01T18:36:05.880587+01:00</OpenDate>
<CloseDate>2025-11-01T18:36:05.880587+01:00</CloseDate>
</PreferenceBlockInfo>
<PreferenceBlockInfo>
<PeriodID>1</PeriodID>
<StartDate>2025-11-01T18:36:05.880587+01:00</StartDate>
<EndDate>2025-11-01T18:36:05.880587+01:00</EndDate>
<OpenDate>2025-11-01T18:36:05.880587+01:00</OpenDate>
<CloseDate>2025-11-01T18:36:05.880587+01:00</CloseDate>
</PreferenceBlockInfo>
</ArrayOfPreferenceBlockInfo>