Update an entity
/api/v1/entities/{entity_uuid}
operationId: entity.update
Base: https://portal.watcheye.com.au/api/v1/entities/{entity_uuid}
Update an existing entity using PATCH semantics: only the fields you supply are changed,
everything else is left as-is. Pass null to clear an optional field.
Notes:
entity_typecannot be changed after creation. It is silently ignored if supplied.birth_dateis silently ignored if the entity is locked because it has been used in an identification check.
Path parameters
| Field | Description |
|---|---|
entity_uuidrequired |
string (uuid) The entity UUID |
Request body
Content type application/json.
The entity fields to update. All fields are optional.
| Field | Description |
|---|---|
reference_number |
string or null |
first_name |
string or null |
middle_name |
string or null |
last_name |
string or null |
birth_date |
string (date) or null |
business_name |
string or null |
business_number |
string or null |
business_number_type |
string or null |
vessel_name |
string or null |
property_name |
string or null |
address_line1 |
string or null |
address_line2 |
string or null |
address_suburb |
string or null |
address_state |
string or null |
address_postcode |
string or null |
address_country |
string or null |
phone1 |
string or null |
phone2 |
string or null |
phone3 |
string or null |
phone4 |
string or null |
email1 |
string (email) or null |
email2 |
string (email) or null |
email3 |
string (email) or null |
email4 |
string (email) or null |
flags |
array of strings or null |
risk_level |
string or null An explicit |
Responses
Entity updated
application/json
| Field | Description |
|---|---|
data |
object |
data. |
string (uuid) The entity's UUID |
data. |
string A short obfuscated public identifier for the entity (e.g. "E-A1-B2C-3D4") |
data. |
string or null An optional customer-supplied reference number, unique within the program |
data. |
string The type of entity:
|
data. |
string or null The display name of the entity, computed from the relevant type-specific fields |
data. |
string or null First name (individuals only) |
data. |
string or null Middle name (individuals only) |
data. |
string or null Last name (individuals only) |
data. |
string (date) or null Date of birth in |
data. |
string or null Business name (businesses only) |
data. |
string or null Business identifier (businesses only); format depends on |
data. |
string or null The type of
|
data. |
string or null Vessel name (vessels only) |
data. |
string or null Property name (properties only) |
data. |
string or null First line of address |
data. |
string or null Second line of address |
data. |
string or null Suburb / locality |
data. |
string or null State / region (Australian state code if |
data. |
string or null Postal / zip code |
data. |
string or null Two-letter ISO 3166-1 alpha-2 country code (e.g. |
data. |
string or null Primary phone number |
data. |
string or null Secondary phone number |
data. |
string or null Additional phone number |
data. |
string or null Additional phone number |
data. |
string (email) or null Primary email address |
data. |
string (email) or null Secondary email address |
data. |
string (email) or null Additional email address |
data. |
string (email) or null Additional email address |
data. |
array of strings Manual flags applied to the entity. Permitted values:
|
data. |
string or null Risk level assigned to the entity:
|
data. |
string (date-time) or null ISO 8601 timestamp at which the entity was archived (null if not archived) |
data. |
string (date-time) or null ISO 8601 timestamp at which the entity was soft-deleted (null if not deleted). Only populated on the response from a DELETE call. |
data. |
string (uuid) UUID of the program this entity belongs to |
data. |
string (date-time) ISO 8601 timestamp at which the entity was created |
data. |
string (date-time) ISO 8601 timestamp at which the entity was last updated |
api_reference |
string (uuid) |