GET {version}/GetElectionPeriods
Get Election Periods
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
List of Election Periods
Collection of ElectionPeriodName | Description | Type | Additional information |
---|---|---|---|
GUID | globally unique identifier |
None. |
|
Text | string |
None. |
|
Description | string |
None. |
|
Year | integer |
None. |
|
ElectionDate | date |
None. |
|
ElectionDateLS | string |
None. |
|
Active | boolean |
None. |
|
Default | boolean |
None. |
|
id | string |
None. |
|
itemName | string |
None. |
|
itemName1 | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "GUID": "6eeba2fc-99a1-44eb-b796-1fa9dd1c6ed2", "Text": "sample string 2", "Description": "sample string 3", "Year": 4, "ElectionDate": "04/03/2025", "ElectionDateLS": "4/3/2025", "Active": true, "Default": true, "id": "6eeba2fc-99a1-44eb-b796-1fa9dd1c6ed2", "itemName": "sample string 2 - 4", "itemName1": "4 - sample string 2 (sample string 3)" }, { "GUID": "6eeba2fc-99a1-44eb-b796-1fa9dd1c6ed2", "Text": "sample string 2", "Description": "sample string 3", "Year": 4, "ElectionDate": "04/03/2025", "ElectionDateLS": "4/3/2025", "Active": true, "Default": true, "id": "6eeba2fc-99a1-44eb-b796-1fa9dd1c6ed2", "itemName": "sample string 2 - 4", "itemName1": "4 - sample string 2 (sample string 3)" } ]
application/xml, text/xml
Sample:
<ArrayOfElectionPeriod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model"> <ElectionPeriod> <Active>true</Active> <Default>true</Default> <Description>sample string 3</Description> <ElectionDate>2025-04-03T05:18:41.4464757-04:00</ElectionDate> <GUID>6eeba2fc-99a1-44eb-b796-1fa9dd1c6ed2</GUID> <Text>sample string 2</Text> <Year>4</Year> </ElectionPeriod> <ElectionPeriod> <Active>true</Active> <Default>true</Default> <Description>sample string 3</Description> <ElectionDate>2025-04-03T05:18:41.4464757-04:00</ElectionDate> <GUID>6eeba2fc-99a1-44eb-b796-1fa9dd1c6ed2</GUID> <Text>sample string 2</Text> <Year>4</Year> </ElectionPeriod> </ArrayOfElectionPeriod>