Below are some sample sets of data to indicate the type of information that our API produces. You can download the individual files for texting purposes should you need to.
XML
<persons> <person> <title>Mr</title> <firstName>Simon</firstName> <surname>Burns MP</surname> <type>MP</type> <represents>Chelmsford</represents> <constituencyName>Chelmsford</constituencyName> <onsNumber>A99</onsNumber> <gssNumber>E14000628</gssNumber> <partyAffiliation>Conservative</partyAffiliation> <email>burnss@parliament.uk</email> <salutation>Mr Burns</salutation> <code>473080</code> </person> </persons>
JSON
{ "persons": [ { "title" : "Mr", "firstName" : "Simon", "surname" : "Burns MP", "type" : "MP", "represents" : "Chelmsford", "constituencyName" : "Chelmsford", "onsNumber" : "A99", "gssNumber" : "E14000628", "partyAffiliation" : "Conservative", "email" : "burnss@parliament.uk", "salutation" : "Mr Burns", "code" : "473080" } ] }
EXCEL
Title | FirstName | Surname | Type | Represents | ConstituencyName | OnsNumber | GssNumber | PartyAffiliation | |
Mr | Simon | Burns MP | MP | Chelmsford | Chelmsford | A99 | E14000628 | Conservative | … |