/people/findOrCreate

Changed on

Attempts to find the given match candidate. If a person is found, it is updated with the information provided. If a person is not found, a new person record is created.

See Common Models for a full list of fields.

post/people/findOrCreate

Request

  • Base URL
    https://api.securevan.com/v4
  • URL
    https://api.securevan.com/v4/people/findOrCreate
  • Auth
    HTTP basic

Request body

vanIdstring
firstNamestring
lastNamestring
dateOfBirthstring date

Response

200

vanIdinteger
firstNamestring
lastNamestring
middleNamestring
partystring
employerstring
occupationstring
sexstring
dateOfBirthstring

Example response

{
  "vanId": 100476252,
  "firstName": "James",
  "lastName": "Gordon",
  "middleName": "Worthington",
  "party": "D",
  "employer": "Acme Medical Group",
  "occupation": "Physician",
  "sex": "M",
  "dateOfBirth": "1976-07-04T00:00:00Z"
}

Changes