GET api/ElectoralEvent/ElectoralEventTypeID/{ElectoralEventTypeID}/ParentEventID/{ParentEventID}

Returns list of all Electoral Event Types for the specified Electoral Event Type

Request Information

Parameters

NameDescriptionAdditional information
ElectoralEventTypeID
Valid ElectoralEventTypeIDs can be obtained by invoking the ElectoralEvent Controller's Get Action: api/v1/ElectoralEvent

Define this parameter in the request URI.

ParentEventID
No documentation available.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Description": "sample string 2",
    "IsActive": true
  },
  {
    "ID": 1,
    "Description": "sample string 2",
    "IsActive": true
  },
  {
    "ID": 1,
    "Description": "sample string 2",
    "IsActive": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfElectoralEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IECService.Models">
  <ElectoralEvent>
    <Description>sample string 2</Description>
    <ID>1</ID>
    <IsActive>true</IsActive>
  </ElectoralEvent>
  <ElectoralEvent>
    <Description>sample string 2</Description>
    <ID>1</ID>
    <IsActive>true</IsActive>
  </ElectoralEvent>
  <ElectoralEvent>
    <Description>sample string 2</Description>
    <ID>1</ID>
    <IsActive>true</IsActive>
  </ElectoralEvent>
</ArrayOfElectoralEvent>