name | value |
---|---|
oldFamilyName | Matthieu |
newFamilyName | Matthieu-Zhang |
GET /api/hs/office/persons?name=Matthieu
=> status: 200 OK
[ {
"uuid" : "cc841e55-8c8a-4ed6-9182-1db104966aed", // Person: Michelle Matthieu
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu"
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
PATCH /api/hs/office/persons/cc841e55-8c8a-4ed6-9182-1db104966aed // personUuid
{
"familyName" : "Matthieu-Zhang"
}
=> status: 200 OK
GET /api/hs/office/persons/cc841e55-8c8a-4ed6-9182-1db104966aed // personUuid
=> status: 200 OK
{
"uuid" : "cc841e55-8c8a-4ed6-9182-1db104966aed", // personUuid
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu-Zhang"
}
generated on 03-10-2025 12:07:40 for branch master