Operation listCouncillors |
Name: |
listCouncillors |
Signature: |
listCouncillors (date {xs:dateTime}, callId {xs:string}) => councillor {elections:Councillor}* |
Java signature: |
List<org.matrix.elections.Councillor> listCouncillors(javax.xml.datatype.XMLGregorianCalendar date, String callId) |
Parameters: |
name |
xml type |
occurs |
nillable |
read only |
references |
date |
xs:dateTime |
1 |
false |
false |
|
callId |
xs:string |
1 |
false |
false |
|
|
Response: |
|
Sample input message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listCouncillors xmlns:ns2="http://elections.matrix.org/">
<date>{xs:dateTime}</date>
<callId>{xs:string}</callId>
</ns2:listCouncillors>
</S:Body>
</S:Envelope> |
Sample output message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listCouncillorsResponse xmlns:ns2="http://elections.matrix.org/">
<councillor>
<partyId>{xs:string}</partyId>
<order>{xs:int}</order>
<name>{xs:string}</name>
<imageURL>{xs:string}</imageURL>
</councillor>
</ns2:listCouncillorsResponse>
</S:Body>
</S:Envelope> |
Operation listPoliticalParties |
Name: |
listPoliticalParties |
Signature: |
listPoliticalParties (date {xs:dateTime}, callId {xs:string}) => politicalParty {elections:PoliticalParty}* |
Java signature: |
List<org.matrix.elections.PoliticalParty> listPoliticalParties(javax.xml.datatype.XMLGregorianCalendar date, String callId) |
Parameters: |
name |
xml type |
occurs |
nillable |
read only |
references |
date |
xs:dateTime |
1 |
false |
false |
|
callId |
xs:string |
1 |
false |
false |
|
|
Response: |
|
Sample input message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listPoliticalParties xmlns:ns2="http://elections.matrix.org/">
<date>{xs:dateTime}</date>
<callId>{xs:string}</callId>
</ns2:listPoliticalParties>
</S:Body>
</S:Envelope> |
Sample output message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listPoliticalPartiesResponse xmlns:ns2="http://elections.matrix.org/">
<politicalParty>
<partyId>{xs:string}</partyId>
<abbreviation>{xs:string}</abbreviation>
<description>{xs:string}</description>
<image>{xs:string}</image>
<color>{xs:string}</color>
</politicalParty>
</ns2:listPoliticalPartiesResponse>
</S:Body>
</S:Envelope> |
Operation listBoards |
Name: |
listBoards |
Signature: |
listBoards (date {xs:dateTime}, callId {xs:string}) => board {elections:Board}* |
Java signature: |
List<org.matrix.elections.Board> listBoards(javax.xml.datatype.XMLGregorianCalendar date, String callId) |
Parameters: |
name |
xml type |
occurs |
nillable |
read only |
references |
date |
xs:dateTime |
1 |
false |
false |
|
callId |
xs:string |
1 |
false |
false |
|
|
Response: |
name |
xml type |
occurs |
nillable |
read only |
references |
board |
elections:Board |
0..N |
true |
false |
|
|
Sample input message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listBoards xmlns:ns2="http://elections.matrix.org/">
<date>{xs:dateTime}</date>
<callId>{xs:string}</callId>
</ns2:listBoards>
</S:Body>
</S:Envelope> |
Sample output message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listBoardsResponse xmlns:ns2="http://elections.matrix.org/">
<board>
<districtId>{xs:string}</districtId>
<sectionId>{xs:string}</sectionId>
<boardId>{xs:string}</boardId>
<electors>{xs:int}</electors>
<totalVotes>{xs:int}</totalVotes>
<blankVotes>{xs:int}</blankVotes>
<nullVotes>{xs:int}</nullVotes>
<description>{xs:string}</description>
</board>
</ns2:listBoardsResponse>
</S:Body>
</S:Envelope> |
Operation listResults |
Name: |
listResults |
Signature: |
listResults (date {xs:dateTime}, callId {xs:string}) => electionResult {elections:ElectionsResult}* |
Java signature: |
List<org.matrix.elections.ElectionsResult> listResults(javax.xml.datatype.XMLGregorianCalendar date, String callId) |
Parameters: |
name |
xml type |
occurs |
nillable |
read only |
references |
date |
xs:dateTime |
1 |
false |
false |
|
callId |
xs:string |
1 |
false |
false |
|
|
Response: |
|
Sample input message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listResults xmlns:ns2="http://elections.matrix.org/">
<date>{xs:dateTime}</date>
<callId>{xs:string}</callId>
</ns2:listResults>
</S:Body>
</S:Envelope> |
Sample output message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listResultsResponse xmlns:ns2="http://elections.matrix.org/">
<electionResult>
<partyId>{xs:string}</partyId>
<districtId>{xs:string}</districtId>
<sectionId>{xs:string}</sectionId>
<boardId>{xs:string}</boardId>
<votes>{xs:int}</votes>
</electionResult>
</ns2:listResultsResponse>
</S:Body>
</S:Envelope> |
Operation listDistricts |
Name: |
listDistricts |
Signature: |
listDistricts (date {xs:dateTime}) => district {elections:District}* |
Java signature: |
List<org.matrix.elections.District> listDistricts(javax.xml.datatype.XMLGregorianCalendar date) |
Parameters: |
name |
xml type |
occurs |
nillable |
read only |
references |
date |
xs:dateTime |
1 |
false |
false |
|
|
Response: |
name |
xml type |
occurs |
nillable |
read only |
references |
district |
elections:District |
0..N |
true |
false |
|
|
Sample input message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listDistricts xmlns:ns2="http://elections.matrix.org/">
<date>{xs:dateTime}</date>
</ns2:listDistricts>
</S:Body>
</S:Envelope> |
Sample output message: |
<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:listDistrictsResponse xmlns:ns2="http://elections.matrix.org/">
<district>
<districtId>{xs:string}</districtId>
<description>{xs:string}</description>
</district>
</ns2:listDistrictsResponse>
</S:Body>
</S:Envelope> |