name | value |
---|---|
mailingList | operations-announce |
subscriberEMailAddress | michael.miller@example.org |
GET /api/hs/office/relations?relationType=SUBSCRIBER&mark=operations-announce&contactData=michael.miller%40example.org
=> status: 200 OK
[ {
"uuid" : "65282fbe-0458-48bb-8540-3f4cec3d0000", // Subscription: Michael Miller to operations-announce
"anchor" : {
"uuid" : "f8f6ad7e-53d2-4cf0-9cb9-30ca2767c599", // Person: Test AG
"personType" : "LEGAL_PERSON",
"tradeName" : "Test AG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "554e0c62-8789-4919-b7ad-5a5a422dc538", // Person: Michael Miller
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michael",
"familyName" : "Miller"
},
"type" : "SUBSCRIBER",
"mark" : "operations-announce",
"contact" : {
"uuid" : "50b9a8a3-f80b-4278-9ac6-44ce90ee7e3d", // Contact: michael.miller@example.org
"caption" : "Michael Miller",
"postalAddress" : { },
"emailAddresses" : {
"main" : "michael.miller@example.org"
},
"phoneNumbers" : { }
}
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
DELETE /api/hs/office/relations/65282fbe-0458-48bb-8540-3f4cec3d0000 // Subscription: michael.miller@example.org
=> status: 204 NO_CONTENT
generated on 03-10-2025 12:08:18 for branch master