Every Politician
An index of all national members of parliament in the world. This version only includes individuals active within the past 15 years.
Example Request
Send POST request with CURL
curl -X POST https://screening.idware.net/api/Check -H "Content-Type: application/json" -H "Authorization: Bearer {token}" -d "{\"firstName\":\"Jon\",\"lastName\":\"Snow\",\"dateOfBirths\":\"01-01-1990\",\"services\":[\"C18ECBD7-907C-47AF-8871-1C6BB19838CA\"]}"
Request
{
"firstName": "string",
"middleName": "string",
"lastName": "string",
"dateOfBirths": "2021-09-27",
"sex": "string",
"address": "string",
"addressLine2": "string",
"city": "string",
"county": "string",
"state": "string",
"zip": "string",
"ssn": "string",
"services": [
"C18ECBD7-907C-47AF-8871-1C6BB19838CA"
],
"idType": "string",
"idNumber": "string",
"driverLicenseNumber": "string",
"documentCategoryCode": 0,
"driverLicenseIssueDate": "2021-09-27",
"driverLicenseExpirationDate": "2021-09-27",
"referenceId": "string",
"metadata": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"emailAddress": "user@example.com",
"phone": {
"phoneNumber": "string",
"sendPhoneVerification": true,
"forceVerificationByCall": true
},
"locationId": 0,
"readOnlyAccessLocationIds": [
0
]
}
Request Fields
Field | Required Fields for Every Politician Service |
---|---|
"firstName" | Required |
"lastName" | Required |
"dateOfBirths" | Required |
The "services" field is an array of IDs. Each ID is of a service that the client would like to run on the supplied data.
To run a name through the Every Politican Watchlist include - "C18ECBD7-907C-47AF-8871-1C6BB19838CA"
To have multiple screening services run during a single request, please see details
Important
When the "services"
field is null or is an empty array all the services your account has enabled will run. We do not recommend submitting request in this way. We recommend being explicit about which services you would like to run.
Sample Results
Sample Result with a Match
[
{
"serviceId": "C18ECBD7-907C-47AF-8871-1C6BB19838CA",
"serviceName": "Everypolitician",
"serviceDescription": "An index of all national members of parliament in the world. This version only includes individuals active within the past 15 years.",
"error": null,
"success": true,
"locationId": 0,
"readOnlyAccessLocationIds": [
0
],
"profiles": [
{
"internalId": "everypolitician.123456",
"firstName": "EVERYPOLITICIAN",
"middleName": null,
"lastName": "DEFAULT",
"fullName": "EVERYPOLITICIAN DEFAULT",
"dateOfBirths": "08/16/1965",
"sex": null,
"address": "TEST MAIN ST",
"countryName": "USA",
"countryCode": null,
"street1": null,
"street2": null,
"city": null,
"state": "IL",
"zipCode": null,
"county": null,
"convictiontype": null,
"aliases": [
{
"fullName": null,
"firstName": "EVERYPOLITICIAN",
"middleName": "SAMPLE",
"lastName": "Profile"
}
],
"offenses": null,
"photoUrl": null,
"source": "everypolitician",
"otherInformation": null,
"idNumber": null,
"verificationResult": null,
"driverLicenseVerificationResult": null
}
]
}
]
Note
There can be multiple profiles in the "Profiles" field, because a person can be found in the multiple lists.
Sample Result Without a Match
[
{
"serviceId": "C18ECBD7-907C-47AF-8871-1C6BB19838CA",
"serviceName": "Everypolitician",
"serviceDescription": "An index of all national members of parliament in the world. This version only includes individuals active within the past 15 years.",
"error": null,
"success": true,
"locationId": 0,
"readOnlyAccessLocationIds": [
0
],
"profiles": []
}
]