name | value |
---|---|
partnerNumber | P-31011 |
dateOfDeath | 2024-11-15 |
representativeGivenName | Lena |
representativeFamilyName | Stadland |
communityOfHeirsPostalAddress | “street”: “Im Wischer 14”, “zipcode”: “22987”, “city”: “Hamburg”, “country”: “Germany” |
communityOfHeirsOfficePhoneNumber | +49 40 666666 |
communityOfHeirsEmailAddress | lena.stadland@example.org |
GET /api/hs/office/partners/P-31011
=> status: 200 OK
{
"uuid" : "3a5780a7-622e-4aa6-b69c-8b17491b26ed", // Partner: P-31011 - Michelle Matthieu
"partnerNumber" : "P-31011",
"partnerRel" : {
"uuid" : "dbcff45e-3b1b-41f8-ae26-1d114cc6b971",
"anchor" : {
"uuid" : "c6575205-1480-4b70-a30b-d0c5a1d7cc99", // Person: Hostsharing eG
"personType" : "LEGAL_PERSON",
"tradeName" : "Hostsharing eG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "cc841e55-8c8a-4ed6-9182-1db104966aed", // personUuid
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu-Zhang"
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "bcc956de-51a8-460a-9b05-b693320bcb8f", // Contact: Michelle Matthieu
"caption" : "Michelle Matthieu",
"postalAddress" : {
"city" : "Hamburg",
"name" : "Michelle Matthieu",
"street" : "An der Wandse 34",
"country" : "Germany",
"zipcode" : "22123"
},
"emailAddresses" : {
"main" : "michelle@matthieu.example.org"
},
"phoneNumbers" : {
"mobile" : "+49 152 1234567"
}
}
},
"details" : {
"uuid" : "03337f72-2004-41e5-9ef8-a707256a1815",
"registrationOffice" : null,
"registrationNumber" : null,
"birthName" : "Eichbaum",
"birthPlace" : "Neustadt a.d.R.",
"birthday" : "1951-03-25",
"dateOfDeath" : null
}
}
Even in production data we expect this query to return just a single result.
PATCH /api/hs/office/partners/3a5780a7-622e-4aa6-b69c-8b17491b26ed // Partner: P-31011
{
"wrong1" : false,
"partnerRel" : {
"wrong2" : false,
"holder" : {
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang"
},
"contact" : {
"wrong3" : false,
"caption" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"postalAddress" : {
"wrong4" : false,
"name" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"co" : "Lena Stadland",
"street" : "Im Wischer 14",
"zipcode" : "22987",
"city" : "Hamburg",
"country" : "Germany"
},
"phoneNumbers" : {
"office" : "+49 40 666666"
},
"emailAddresses" : {
"main" : "lena.stadland@example.org"
}
}
}
}
=> status: 200 OK
{
"uuid" : "3a5780a7-622e-4aa6-b69c-8b17491b26ed", // Partner: P-31011
"partnerNumber" : "P-31011",
"partnerRel" : {
"uuid" : "dbcff45e-3b1b-41f8-ae26-1d114cc6b971",
"anchor" : {
"uuid" : "c6575205-1480-4b70-a30b-d0c5a1d7cc99", // Person: Hostsharing eG
"personType" : "LEGAL_PERSON",
"tradeName" : "Hostsharing eG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "3ac59210-00a5-4323-9ade-77c44225513a",
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "c7cd3745-8189-4cfe-82ea-08cbe26947b9",
"caption" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"postalAddress" : {
"zipcode" : "22987",
"country" : "Germany",
"city" : "Hamburg",
"street" : "Im Wischer 14",
"name" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"wrong4" : false,
"co" : "Lena Stadland"
},
"emailAddresses" : {
"main" : "lena.stadland@example.org"
},
"phoneNumbers" : {
"office" : "+49 40 666666"
}
}
},
"details" : {
"uuid" : "03337f72-2004-41e5-9ef8-a707256a1815",
"registrationOffice" : null,
"registrationNumber" : null,
"birthName" : "Eichbaum",
"birthPlace" : "Neustadt a.d.R.",
"birthday" : "1951-03-25",
"dateOfDeath" : null
}
}
POST /api/hs/office/relations
{
"type" : "REPRESENTATIVE",
"anchor.uuid" : "3ac59210-00a5-4323-9ade-77c44225513a", // Person: Erbengemeinschaft Michelle Matthieu-Zhang
"holder" : {
"personType" : "NATURAL_PERSON",
"givenName" : "Lena",
"familyName" : "Stadland"
},
"contact.uuid" : "c7cd3745-8189-4cfe-82ea-08cbe26947b9" // Contact: Erbengemeinschaft Michelle Matthieu-Zhang
}
=> status: 201 CREATED fdd660a8-dbe3-4270-98f7-3188115989ca
{
"uuid" : "fdd660a8-dbe3-4270-98f7-3188115989ca",
"anchor" : {
"uuid" : "3ac59210-00a5-4323-9ade-77c44225513a", // Person: Erbengemeinschaft Michelle Matthieu-Zhang
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "3b91f92d-9a9e-4136-8bf1-b961a2363179",
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Lena",
"familyName" : "Stadland"
},
"type" : "REPRESENTATIVE",
"mark" : null,
"contact" : {
"uuid" : "c7cd3745-8189-4cfe-82ea-08cbe26947b9", // Contact: Erbengemeinschaft Michelle Matthieu-Zhang
"caption" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"postalAddress" : {
"co" : "Lena Stadland",
"city" : "Hamburg",
"name" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"street" : "Im Wischer 14",
"wrong4" : "false",
"country" : "Germany",
"zipcode" : "22987"
},
"emailAddresses" : {
"main" : "lena.stadland@example.org"
},
"phoneNumbers" : {
"office" : "+49 40 666666"
}
}
}
GET /api/hs/office/partners/P-31011
=> status: 200 OK
{
"uuid" : "3a5780a7-622e-4aa6-b69c-8b17491b26ed", // Partner: P-31011
"partnerNumber" : "P-31011",
"partnerRel" : {
"uuid" : "dbcff45e-3b1b-41f8-ae26-1d114cc6b971",
"anchor" : {
"uuid" : "c6575205-1480-4b70-a30b-d0c5a1d7cc99", // Person: Hostsharing eG
"personType" : "LEGAL_PERSON",
"tradeName" : "Hostsharing eG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "3ac59210-00a5-4323-9ade-77c44225513a", // Person: Erbengemeinschaft Michelle Matthieu-Zhang
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "c7cd3745-8189-4cfe-82ea-08cbe26947b9", // Contact: Erbengemeinschaft Michelle Matthieu-Zhang
"caption" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"postalAddress" : {
"co" : "Lena Stadland",
"city" : "Hamburg",
"name" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"street" : "Im Wischer 14",
"wrong4" : "false",
"country" : "Germany",
"zipcode" : "22987"
},
"emailAddresses" : {
"main" : "lena.stadland@example.org"
},
"phoneNumbers" : {
"office" : "+49 40 666666"
}
}
},
"details" : {
"uuid" : "03337f72-2004-41e5-9ef8-a707256a1815",
"registrationOffice" : null,
"registrationNumber" : null,
"birthName" : "Eichbaum",
"birthPlace" : "Neustadt a.d.R.",
"birthday" : "1951-03-25",
"dateOfDeath" : null
}
}
GET /api/hs/office/relations?relationType=EX_PARTNER&personUuid=cc841e55-8c8a-4ed6-9182-1db104966aed // Person: Michelle Matthieu-Zhang
=> status: 200 OK
[ {
"uuid" : "c8c5dd3c-b677-4f35-bf03-a3e0fd1cb77a",
"anchor" : {
"uuid" : "3ac59210-00a5-4323-9ade-77c44225513a", // Person: Erbengemeinschaft Michelle Matthieu-Zhang
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "cc841e55-8c8a-4ed6-9182-1db104966aed", // Person: Michelle Matthieu-Zhang
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Michelle",
"familyName" : "Matthieu-Zhang"
},
"type" : "EX_PARTNER",
"mark" : null,
"contact" : {
"uuid" : "c7cd3745-8189-4cfe-82ea-08cbe26947b9", // Contact: Erbengemeinschaft Michelle Matthieu-Zhang
"caption" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"postalAddress" : {
"co" : "Lena Stadland",
"city" : "Hamburg",
"name" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"street" : "Im Wischer 14",
"wrong4" : "false",
"country" : "Germany",
"zipcode" : "22987"
},
"emailAddresses" : {
"main" : "lena.stadland@example.org"
},
"phoneNumbers" : {
"office" : "+49 40 666666"
}
}
} ]
GET /api/hs/office/relations?relationType=REPRESENTATIVE&personUuid=3ac59210-00a5-4323-9ade-77c44225513a // Person: Erbengemeinschaft Michelle Matthieu-Zhang
=> status: 200 OK
[ {
"uuid" : "fdd660a8-dbe3-4270-98f7-3188115989ca", // Representative-Relation: Lena Stadland for Erbengemeinschaft Michelle Matthieu-Zhang
"anchor" : {
"uuid" : "3ac59210-00a5-4323-9ade-77c44225513a", // Person: Erbengemeinschaft Michelle Matthieu-Zhang
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "3b91f92d-9a9e-4136-8bf1-b961a2363179", // Person: Lena Stadland
"personType" : "NATURAL_PERSON",
"tradeName" : null,
"salutation" : null,
"title" : null,
"givenName" : "Lena",
"familyName" : "Stadland"
},
"type" : "REPRESENTATIVE",
"mark" : null,
"contact" : {
"uuid" : "c7cd3745-8189-4cfe-82ea-08cbe26947b9", // Contact: Erbengemeinschaft Michelle Matthieu-Zhang
"caption" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"postalAddress" : {
"co" : "Lena Stadland",
"city" : "Hamburg",
"name" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"street" : "Im Wischer 14",
"wrong4" : "false",
"country" : "Germany",
"zipcode" : "22987"
},
"emailAddresses" : {
"main" : "lena.stadland@example.org"
},
"phoneNumbers" : {
"office" : "+49 40 666666"
}
}
} ]
GET /api/hs/office/debitors?partnerNumber=P-31011
=> status: 200 OK
[ {
"uuid" : "cbf0e6e1-c1a0-4252-ad22-a5a4c42e3d5b", // Debitor: D-3101100 - Michelle Matthieu
"debitorRel" : {
"uuid" : "78feacd3-81d5-44df-8ce9-2ee21edafd1f",
"anchor" : {
"uuid" : "3ac59210-00a5-4323-9ade-77c44225513a", // Person: Erbengemeinschaft Michelle Matthieu-Zhang
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "3ac59210-00a5-4323-9ade-77c44225513a", // Person: Erbengemeinschaft Michelle Matthieu-Zhang
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"type" : "DEBITOR",
"mark" : null,
"contact" : {
"uuid" : "bcc956de-51a8-460a-9b05-b693320bcb8f", // Contact: Michelle Matthieu
"caption" : "Michelle Matthieu",
"postalAddress" : {
"city" : "Hamburg",
"name" : "Michelle Matthieu",
"street" : "An der Wandse 34",
"country" : "Germany",
"zipcode" : "22123"
},
"emailAddresses" : {
"main" : "michelle@matthieu.example.org"
},
"phoneNumbers" : {
"mobile" : "+49 152 1234567"
}
}
},
"debitorNumber" : "D-3101100",
"debitorNumberSuffix" : "00",
"partner" : {
"uuid" : "3a5780a7-622e-4aa6-b69c-8b17491b26ed", // Partner: P-31011
"partnerNumber" : "P-31011",
"partnerRel" : {
"uuid" : "dbcff45e-3b1b-41f8-ae26-1d114cc6b971",
"anchor" : {
"uuid" : "c6575205-1480-4b70-a30b-d0c5a1d7cc99", // Person: Hostsharing eG
"personType" : "LEGAL_PERSON",
"tradeName" : "Hostsharing eG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"holder" : {
"uuid" : "3ac59210-00a5-4323-9ade-77c44225513a", // Person: Erbengemeinschaft Michelle Matthieu-Zhang
"personType" : "UNINCORPORATED_FIRM",
"tradeName" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "c7cd3745-8189-4cfe-82ea-08cbe26947b9", // Contact: Erbengemeinschaft Michelle Matthieu-Zhang
"caption" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"postalAddress" : {
"co" : "Lena Stadland",
"city" : "Hamburg",
"name" : "Erbengemeinschaft Michelle Matthieu-Zhang",
"street" : "Im Wischer 14",
"wrong4" : "false",
"country" : "Germany",
"zipcode" : "22987"
},
"emailAddresses" : {
"main" : "lena.stadland@example.org"
},
"phoneNumbers" : {
"office" : "+49 40 666666"
}
}
},
"details" : {
"uuid" : "03337f72-2004-41e5-9ef8-a707256a1815",
"registrationOffice" : null,
"registrationNumber" : null,
"birthName" : "Eichbaum",
"birthPlace" : "Neustadt a.d.R.",
"birthday" : "1951-03-25",
"dateOfDeath" : null
}
},
"billable" : true,
"vatId" : null,
"vatCountryCode" : null,
"vatBusiness" : false,
"vatReverseCharge" : false,
"refundBankAccount" : null,
"defaultPrefix" : "mim"
} ]
generated on 03-10-2025 12:08:18 for branch master