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 PreferenceBlockInfoName | 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": "2024-12-22T08:29:26.4093688+01:00", "EndDate": "2024-12-22T08:29:26.4093688+01:00", "OpenDate": "2024-12-22T08:29:26.4093688+01:00", "CloseDate": "2024-12-22T08:29:26.4093688+01:00" }, { "PeriodID": 1, "StartDate": "2024-12-22T08:29:26.4093688+01:00", "EndDate": "2024-12-22T08:29:26.4093688+01:00", "OpenDate": "2024-12-22T08:29:26.4093688+01:00", "CloseDate": "2024-12-22T08:29:26.4093688+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>2024-12-22T08:29:26.4093688+01:00</StartDate> <EndDate>2024-12-22T08:29:26.4093688+01:00</EndDate> <OpenDate>2024-12-22T08:29:26.4093688+01:00</OpenDate> <CloseDate>2024-12-22T08:29:26.4093688+01:00</CloseDate> </PreferenceBlockInfo> <PreferenceBlockInfo> <PeriodID>1</PeriodID> <StartDate>2024-12-22T08:29:26.4093688+01:00</StartDate> <EndDate>2024-12-22T08:29:26.4093688+01:00</EndDate> <OpenDate>2024-12-22T08:29:26.4093688+01:00</OpenDate> <CloseDate>2024-12-22T08:29:26.4093688+01:00</CloseDate> </PreferenceBlockInfo> </ArrayOfPreferenceBlockInfo>