Skip to content
Console(opens in a new tab)

PersonInput

The fields of PersonInput, and the part each one belongs to.

Match. This input describes the records that you want to find. You pass it to SearchInput.person and SearchFieldGroupInput.person.

Input object.

Field Type Part Description
firstName String Match The first name of the person.
lastName String Match The last name of the person.
dateOfBirth String Match The date of birth of the person, in YYYY-MM-DD form.
address AddressInput Match The address of the person.
tin TinInput Match The taxpayer identification number (TIN) of the person, such as a Social Security number. A tin requires firstName and lastName.
jobTitle String Match The job title of the person.
companyName String Match The name of the company that the person is associated with.
query {
search(searchInput: {
entityType: PERSON
person: { firstName: "Robert", lastName: "Edwards" }
conditions: { limit: 1 }
}) {
... on Person {
id
names(first: 1) { edges { node { fullName } } }
}
}
}

Response, as returned:

{
"data": {
"search": [
{
"id": "b5ccec9f-9870-4fa4-bc98-b0f82adbaaa9",
"names": {
"edges": [
{
"node": {
"fullName": "ROBERT EDWARDS"
}
}
]
}
}
]
}
}