POST api/OnlineVoter/PostOnlineVoter_Nist
Post single Online Voter in Voter Records Interchange Common Data Format (NIST 1500-102)
Request Information
URI Parameters
None.
Body Parameters
VoterRecordsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AdditionalInfo | Collection of AdditionalInfo |
None. |
|
| Form | RequestForm |
None. |
|
| GeneratedDate | date |
None. |
|
| Issuer | string |
None. |
|
| OtherForm | string |
None. |
|
| OtherRequestMethod | string |
None. |
|
| OtherType | string |
None. |
|
| Subject | Voter |
None. |
|
| TransactionId | string |
None. |
|
| Type | Collection of VoterRequestType |
None. |
|
| VendorApplicationId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AdditionalInfo": [
{
"Name": "sample string 1",
"StringValue": "sample string 2"
},
{
"Name": "sample string 1",
"StringValue": "sample string 2"
}
],
"Form": 0,
"FormSpecified": true,
"GeneratedDate": "2026-02-22T02:01:36.858337-05:00",
"Issuer": "sample string 3",
"OtherForm": "sample string 4",
"OtherRequestMethod": "sample string 5",
"OtherType": "sample string 6",
"Subject": {
"ContactMethod": [
{
"Type": 0,
"Value": "sample string 1"
},
{
"Type": 0,
"Value": "sample string 1"
}
],
"DateOfBirth": "2026-02-22T02:01:36.858337-05:00",
"DateOfBirthSpecified": true,
"MailingAddress": {
"GeneralAddressClass_type": {
"CompletePlaceName": {
"PlaceName": [
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
},
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
}
]
},
"DeliveryAddress": "sample string 1",
"ZipCode": "sample string 2",
"CountryName": "sample string 3",
"StateName": "sample string 4"
},
"NumberedThoroughfareAddress_type": {
"CompleteAddressNumber": {
"AddressNumberPrefix": {
"Value": "sample string 1"
},
"AddressNumber": "sample string 1",
"AddressNumberSuffix": {
"Value": "sample string 1"
}
},
"CompleteStreetName": {
"StreetNamePreModifier": {
"Value": "sample string 1"
},
"StreetNamePreDirectional": {
"Value": "sample string 1"
},
"StreetNamePreType": {
"Value": "sample string 1"
},
"StreetName": "sample string 1",
"StreetNamePostType": {
"Value": "sample string 1"
},
"StreetNamePostDirectional": {
"Value": "sample string 1"
},
"StreetNamePostModifier": {
"Value": "sample string 1"
}
},
"CompleteSubaddress": {
"SubaddressType": "sample string 1",
"SubaddressIdentifier": "sample string 2"
},
"CompletePlaceName": {
"PlaceName": [
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
},
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
}
]
},
"StateName": "sample string 1",
"ZipCode": "sample string 2",
"CountryName": "sample string 3"
},
"USPSPostalDeliveryBox_type": {
"USPSBox": {
"USPSBoxType": "sample string 1",
"USPSBoxId": "sample string 2"
},
"CompleteSubaddress": {
"SubaddressType": "sample string 1",
"SubaddressIdentifier": "sample string 2"
},
"CompletePlaceName": {
"PlaceName": [
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
},
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
}
]
},
"StateName": "sample string 1",
"ZipCode": "sample string 2",
"CountryName": "sample string 3"
},
"USPSPostalDeliveryRoute_type": {
"USPSAddress": {
"USPSRoute": {
"USPSBoxGroupType": "sample string 1",
"USPSBoxGroupId": "sample string 2"
},
"USPSBox": {
"USPSBoxType": "sample string 1",
"USPSBoxId": "sample string 2"
}
},
"CompletePlaceName": {
"PlaceName": [
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
},
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
}
]
},
"StateName": "sample string 1",
"ZipCode": "sample string 2",
"CountryName": "sample string 3"
}
},
"Name": {
"FirstName": "sample string 1",
"FullName": "sample string 2",
"LastName": "sample string 3",
"MiddleName": [
"sample string 1",
"sample string 2"
],
"Prefix": "sample string 4",
"Suffix": "sample string 5"
},
"ResidenceAddress": {
"GeneralAddressClass_type": {
"CompletePlaceName": {
"PlaceName": [
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
},
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
}
]
},
"DeliveryAddress": "sample string 1",
"ZipCode": "sample string 2",
"CountryName": "sample string 3",
"StateName": "sample string 4"
},
"NumberedThoroughfareAddress_type": {
"CompleteAddressNumber": {
"AddressNumberPrefix": {
"Value": "sample string 1"
},
"AddressNumber": "sample string 1",
"AddressNumberSuffix": {
"Value": "sample string 1"
}
},
"CompleteStreetName": {
"StreetNamePreModifier": {
"Value": "sample string 1"
},
"StreetNamePreDirectional": {
"Value": "sample string 1"
},
"StreetNamePreType": {
"Value": "sample string 1"
},
"StreetName": "sample string 1",
"StreetNamePostType": {
"Value": "sample string 1"
},
"StreetNamePostDirectional": {
"Value": "sample string 1"
},
"StreetNamePostModifier": {
"Value": "sample string 1"
}
},
"CompleteSubaddress": {
"SubaddressType": "sample string 1",
"SubaddressIdentifier": "sample string 2"
},
"CompletePlaceName": {
"PlaceName": [
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
},
{
"PlaceNameType": 0,
"PlaceNameTypeSpecified": true,
"Value": "sample string 2"
}
]
},
"StateName": "sample string 1",
"ZipCode": "sample string 2",
"CountryName": "sample string 3"
}
},
"ResidenceAddressIsMailingAddress": true,
"ResidenceAddressIsMailingAddressSpecified": true,
"VoterClassification": [
{
"Assertion": true,
"OtherAssertion": "sample string 2",
"OtherType": "sample string 3",
"Type": 0
},
{
"Assertion": true,
"OtherAssertion": "sample string 2",
"OtherType": "sample string 3",
"Type": 0
}
],
"VoterId": [
{
"OtherType": "sample string 1",
"StringValue": "sample string 2",
"Type": 0
},
{
"OtherType": "sample string 1",
"StringValue": "sample string 2",
"Type": 0
}
]
},
"TransactionId": "sample string 7",
"Type": [
0,
0
],
"VendorApplicationId": "sample string 8"
}
text/html
Sample:
{"AdditionalInfo":[{"Name":"sample string 1","StringValue":"sample string 2"},{"Name":"sample string 1","StringValue":"sample string 2"}],"Form":0,"FormSpecified":true,"GeneratedDate":"2026-02-22T02:01:36.858337-05:00","Issuer":"sample string 3","OtherForm":"sample string 4","OtherRequestMethod":"sample string 5","OtherType":"sample string 6","Subject":{"ContactMethod":[{"Type":0,"Value":"sample string 1"},{"Type":0,"Value":"sample string 1"}],"DateOfBirth":"2026-02-22T02:01:36.858337-05:00","DateOfBirthSpecified":true,"MailingAddress":{"GeneralAddressClass_type":{"CompletePlaceName":{"PlaceName":[{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"},{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"}]},"DeliveryAddress":"sample string 1","ZipCode":"sample string 2","CountryName":"sample string 3","StateName":"sample string 4"},"NumberedThoroughfareAddress_type":{"CompleteAddressNumber":{"AddressNumberPrefix":{"Value":"sample string 1"},"AddressNumber":"sample string 1","AddressNumberSuffix":{"Value":"sample string 1"}},"CompleteStreetName":{"StreetNamePreModifier":{"Value":"sample string 1"},"StreetNamePreDirectional":{"Value":"sample string 1"},"StreetNamePreType":{"Value":"sample string 1"},"StreetName":"sample string 1","StreetNamePostType":{"Value":"sample string 1"},"StreetNamePostDirectional":{"Value":"sample string 1"},"StreetNamePostModifier":{"Value":"sample string 1"}},"CompleteSubaddress":{"SubaddressType":"sample string 1","SubaddressIdentifier":"sample string 2"},"CompletePlaceName":{"PlaceName":[{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"},{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"}]},"StateName":"sample string 1","ZipCode":"sample string 2","CountryName":"sample string 3"},"USPSPostalDeliveryBox_type":{"USPSBox":{"USPSBoxType":"sample string 1","USPSBoxId":"sample string 2"},"CompleteSubaddress":{"SubaddressType":"sample string 1","SubaddressIdentifier":"sample string 2"},"CompletePlaceName":{"PlaceName":[{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"},{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"}]},"StateName":"sample string 1","ZipCode":"sample string 2","CountryName":"sample string 3"},"USPSPostalDeliveryRoute_type":{"USPSAddress":{"USPSRoute":{"USPSBoxGroupType":"sample string 1","USPSBoxGroupId":"sample string 2"},"USPSBox":{"USPSBoxType":"sample string 1","USPSBoxId":"sample string 2"}},"CompletePlaceName":{"PlaceName":[{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"},{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"}]},"StateName":"sample string 1","ZipCode":"sample string 2","CountryName":"sample string 3"}},"Name":{"FirstName":"sample string 1","FullName":"sample string 2","LastName":"sample string 3","MiddleName":["sample string 1","sample string 2"],"Prefix":"sample string 4","Suffix":"sample string 5"},"ResidenceAddress":{"GeneralAddressClass_type":{"CompletePlaceName":{"PlaceName":[{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"},{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"}]},"DeliveryAddress":"sample string 1","ZipCode":"sample string 2","CountryName":"sample string 3","StateName":"sample string 4"},"NumberedThoroughfareAddress_type":{"CompleteAddressNumber":{"AddressNumberPrefix":{"Value":"sample string 1"},"AddressNumber":"sample string 1","AddressNumberSuffix":{"Value":"sample string 1"}},"CompleteStreetName":{"StreetNamePreModifier":{"Value":"sample string 1"},"StreetNamePreDirectional":{"Value":"sample string 1"},"StreetNamePreType":{"Value":"sample string 1"},"StreetName":"sample string 1","StreetNamePostType":{"Value":"sample string 1"},"StreetNamePostDirectional":{"Value":"sample string 1"},"StreetNamePostModifier":{"Value":"sample string 1"}},"CompleteSubaddress":{"SubaddressType":"sample string 1","SubaddressIdentifier":"sample string 2"},"CompletePlaceName":{"PlaceName":[{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"},{"PlaceNameType":0,"PlaceNameTypeSpecified":true,"Value":"sample string 2"}]},"StateName":"sample string 1","ZipCode":"sample string 2","CountryName":"sample string 3"}},"ResidenceAddressIsMailingAddress":true,"ResidenceAddressIsMailingAddressSpecified":true,"VoterClassification":[{"Assertion":true,"OtherAssertion":"sample string 2","OtherType":"sample string 3","Type":0},{"Assertion":true,"OtherAssertion":"sample string 2","OtherType":"sample string 3","Type":0}],"VoterId":[{"OtherType":"sample string 1","StringValue":"sample string 2","Type":0},{"OtherType":"sample string 1","StringValue":"sample string 2","Type":0}]},"TransactionId":"sample string 7","Type":[0,0],"VendorApplicationId":"sample string 8"}
application/xml, text/xml
Sample:
<VoterRecordsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineVoterAPI.NIST_V0">
<AdditionalInfo>
<AdditionalInfo>
<Name>sample string 1</Name>
<StringValue>sample string 2</StringValue>
</AdditionalInfo>
<AdditionalInfo>
<Name>sample string 1</Name>
<StringValue>sample string 2</StringValue>
</AdditionalInfo>
</AdditionalInfo>
<Form>fpca</Form>
<FormSpecified>true</FormSpecified>
<GeneratedDate>2026-02-22T02:01:36.858337-05:00</GeneratedDate>
<Issuer>sample string 3</Issuer>
<OtherForm>sample string 4</OtherForm>
<OtherRequestMethod>sample string 5</OtherRequestMethod>
<OtherType>sample string 6</OtherType>
<Subject>
<ContactMethod>
<ContactMethod>
<Type>email</Type>
<Value>sample string 1</Value>
</ContactMethod>
<ContactMethod>
<Type>email</Type>
<Value>sample string 1</Value>
</ContactMethod>
</ContactMethod>
<DateOfBirth>2026-02-22T02:01:36.858337-05:00</DateOfBirth>
<DateOfBirthSpecified>true</DateOfBirthSpecified>
<MailingAddress>
<GeneralAddressClass_type>
<CompletePlaceName>
<PlaceName>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
</PlaceName>
</CompletePlaceName>
<CountryName>sample string 3</CountryName>
<DeliveryAddress>sample string 1</DeliveryAddress>
<StateName>sample string 4</StateName>
<ZipCode>sample string 2</ZipCode>
</GeneralAddressClass_type>
<NumberedThoroughfareAddress_type>
<CompleteAddressNumber>
<AddressNumber>sample string 1</AddressNumber>
<AddressNumberPrefix>
<Value>sample string 1</Value>
</AddressNumberPrefix>
<AddressNumberSuffix>
<Value>sample string 1</Value>
</AddressNumberSuffix>
</CompleteAddressNumber>
<CompletePlaceName>
<PlaceName>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
</PlaceName>
</CompletePlaceName>
<CompleteStreetName>
<StreetName>sample string 1</StreetName>
<StreetNamePostDirectional>
<Value>sample string 1</Value>
</StreetNamePostDirectional>
<StreetNamePostModifier>
<Value>sample string 1</Value>
</StreetNamePostModifier>
<StreetNamePostType>
<Value>sample string 1</Value>
</StreetNamePostType>
<StreetNamePreDirectional>
<Value>sample string 1</Value>
</StreetNamePreDirectional>
<StreetNamePreModifier>
<Value>sample string 1</Value>
</StreetNamePreModifier>
<StreetNamePreType>
<Value>sample string 1</Value>
</StreetNamePreType>
</CompleteStreetName>
<CompleteSubaddress>
<SubaddressIdentifier>sample string 2</SubaddressIdentifier>
<SubaddressType>sample string 1</SubaddressType>
</CompleteSubaddress>
<CountryName>sample string 3</CountryName>
<StateName>sample string 1</StateName>
<ZipCode>sample string 2</ZipCode>
</NumberedThoroughfareAddress_type>
<USPSPostalDeliveryBox_type>
<CompletePlaceName>
<PlaceName>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
</PlaceName>
</CompletePlaceName>
<CompleteSubaddress>
<SubaddressIdentifier>sample string 2</SubaddressIdentifier>
<SubaddressType>sample string 1</SubaddressType>
</CompleteSubaddress>
<CountryName>sample string 3</CountryName>
<StateName>sample string 1</StateName>
<USPSBox>
<USPSBoxId>sample string 2</USPSBoxId>
<USPSBoxType>sample string 1</USPSBoxType>
</USPSBox>
<ZipCode>sample string 2</ZipCode>
</USPSPostalDeliveryBox_type>
<USPSPostalDeliveryRoute_type>
<CompletePlaceName>
<PlaceName>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
</PlaceName>
</CompletePlaceName>
<CountryName>sample string 3</CountryName>
<StateName>sample string 1</StateName>
<USPSAddress>
<USPSBox>
<USPSBoxId>sample string 2</USPSBoxId>
<USPSBoxType>sample string 1</USPSBoxType>
</USPSBox>
<USPSRoute>
<USPSBoxGroupId>sample string 2</USPSBoxGroupId>
<USPSBoxGroupType>sample string 1</USPSBoxGroupType>
</USPSRoute>
</USPSAddress>
<ZipCode>sample string 2</ZipCode>
</USPSPostalDeliveryRoute_type>
</MailingAddress>
<Name>
<FirstName>sample string 1</FirstName>
<FullName>sample string 2</FullName>
<LastName>sample string 3</LastName>
<MiddleName xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>sample string 1</d4p1:string>
<d4p1:string>sample string 2</d4p1:string>
</MiddleName>
<Prefix>sample string 4</Prefix>
<Suffix>sample string 5</Suffix>
</Name>
<ResidenceAddress>
<GeneralAddressClass_type>
<CompletePlaceName>
<PlaceName>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
</PlaceName>
</CompletePlaceName>
<CountryName>sample string 3</CountryName>
<DeliveryAddress>sample string 1</DeliveryAddress>
<StateName>sample string 4</StateName>
<ZipCode>sample string 2</ZipCode>
</GeneralAddressClass_type>
<NumberedThoroughfareAddress_type>
<CompleteAddressNumber>
<AddressNumber>sample string 1</AddressNumber>
<AddressNumberPrefix>
<Value>sample string 1</Value>
</AddressNumberPrefix>
<AddressNumberSuffix>
<Value>sample string 1</Value>
</AddressNumberSuffix>
</CompleteAddressNumber>
<CompletePlaceName>
<PlaceName>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
<PlaceName_type>
<PlaceNameType>USPSCommunity</PlaceNameType>
<PlaceNameTypeSpecified>true</PlaceNameTypeSpecified>
<Value>sample string 2</Value>
</PlaceName_type>
</PlaceName>
</CompletePlaceName>
<CompleteStreetName>
<StreetName>sample string 1</StreetName>
<StreetNamePostDirectional>
<Value>sample string 1</Value>
</StreetNamePostDirectional>
<StreetNamePostModifier>
<Value>sample string 1</Value>
</StreetNamePostModifier>
<StreetNamePostType>
<Value>sample string 1</Value>
</StreetNamePostType>
<StreetNamePreDirectional>
<Value>sample string 1</Value>
</StreetNamePreDirectional>
<StreetNamePreModifier>
<Value>sample string 1</Value>
</StreetNamePreModifier>
<StreetNamePreType>
<Value>sample string 1</Value>
</StreetNamePreType>
</CompleteStreetName>
<CompleteSubaddress>
<SubaddressIdentifier>sample string 2</SubaddressIdentifier>
<SubaddressType>sample string 1</SubaddressType>
</CompleteSubaddress>
<CountryName>sample string 3</CountryName>
<StateName>sample string 1</StateName>
<ZipCode>sample string 2</ZipCode>
</NumberedThoroughfareAddress_type>
</ResidenceAddress>
<ResidenceAddressIsMailingAddress>true</ResidenceAddressIsMailingAddress>
<ResidenceAddressIsMailingAddressSpecified>true</ResidenceAddressIsMailingAddressSpecified>
<VoterClassification>
<VoterClassification>
<Assertion>true</Assertion>
<OtherAssertion>sample string 2</OtherAssertion>
<OtherType>sample string 3</OtherType>
<Type>activatednationalguard</Type>
</VoterClassification>
<VoterClassification>
<Assertion>true</Assertion>
<OtherAssertion>sample string 2</OtherAssertion>
<OtherType>sample string 3</OtherType>
<Type>activatednationalguard</Type>
</VoterClassification>
</VoterClassification>
<VoterId>
<VoterId>
<OtherType>sample string 1</OtherType>
<StringValue>sample string 2</StringValue>
<Type>driverslicense</Type>
</VoterId>
<VoterId>
<OtherType>sample string 1</OtherType>
<StringValue>sample string 2</StringValue>
<Type>driverslicense</Type>
</VoterId>
</VoterId>
</Subject>
<TransactionId>sample string 7</TransactionId>
<Type>
<VoterRequestType>ballotrequest</VoterRequestType>
<VoterRequestType>ballotrequest</VoterRequestType>
</Type>
<VendorApplicationId>sample string 8</VendorApplicationId>
</VoterRecordsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VoterRecordsResponse
OnlineVoterResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| SenderName | string |
None. |
|
| IsValid | boolean |
None. |
|
| VoterStatusId | decimal number |
None. |
|
| VoterStatusDescription | string |
None. |
|
| VoterErrors | OnlineVoterError |
None. |
|
| HasError | boolean |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SenderName": "sample string 1",
"IsValid": true,
"VoterStatusId": 3.0,
"VoterStatusDescription": "sample string 4",
"VoterErrors": {
"SenderRecordId": "sample string 1",
"IsValid": true,
"ValidationMessage": [
"sample string 1",
"sample string 2"
]
},
"HasError": true,
"ErrorMessage": "sample string 6"
}
text/html
Sample:
{"SenderName":"sample string 1","IsValid":true,"VoterStatusId":3.0,"VoterStatusDescription":"sample string 4","VoterErrors":{"SenderRecordId":"sample string 1","IsValid":true,"ValidationMessage":["sample string 1","sample string 2"]},"HasError":true,"ErrorMessage":"sample string 6"}
application/xml, text/xml
Sample:
<OnlineVoterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnlineVoterAPI.Models">
<ErrorMessage>sample string 6</ErrorMessage>
<HasError>true</HasError>
<IsValid>true</IsValid>
<SenderName>sample string 1</SenderName>
<VoterErrors xmlns:d2p1="http://schemas.datacontract.org/2004/07/QVF.Data.ViewModels.OnlineVoter">
<d2p1:IsValid>true</d2p1:IsValid>
<d2p1:SenderRecordId>sample string 1</d2p1:SenderRecordId>
<d2p1:ValidationMessage xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>sample string 1</d3p1:string>
<d3p1:string>sample string 2</d3p1:string>
</d2p1:ValidationMessage>
</VoterErrors>
<VoterStatusDescription>sample string 4</VoterStatusDescription>
<VoterStatusId>3</VoterStatusId>
</OnlineVoterResponse>