/people/{vanId}

Changed on

Updates a Person record. Alias for using POST /people/findOrCreate with the vanId property set to the value of the route parameter.

If no Person with the indicated vanId is available, this endpoint will return an error with HTTP Status Code 404 Not Found. Otherwise responds with a Match Responses.

post/people/{vanId}

Request

  • Base URL
    https://api.securevan.com/v4
  • URL
    https://api.securevan.com/v4/people/{vanId}
  • Auth
    HTTP basic

Path parameters

vanIdstring required

Unique person identifier available in the current context

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