/people/{vanId}/codes

Use this endpoint to apply a single Code to a Person.

If the specified Person does not exist, this endpoint will return an error with HTTP Status Code 404 Not Found.

If the specified Person does exist but the Code does not or cannot be applied to People, this endpoint will return an error with HTTP Status Code 400 Bad Request.

In some contexts it is possible to apply both Tags and Source Codes to People. In these contexts, any number of Tags and Source Codes may be accepted. However:

  • If any Source Codes are applied to a Person within 24 hours of the creation of a Person record, then the first such Source Code will be marked as the Origin Source Code for the Person. Otherwise, the Person will have no Origin Source Code.
  • If an Origin Source Code exists for a Person, it will be displayed in the user interface; otherwise, no Source Codes for a Person will be displayed in the user interface.
  • All Tags for a Person will be displayed in the user interface.

If successful, the endpoint responds with HTTP Status Code 204 No Content and an empty response body.

Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!