name | value |
---|---|
partnerName | Test AG |
memberNumberSuffix | 01 |
validFrom | 2025-02-24 |
newStatus | ACTIVE |
membershipFeeBillable | true |
GET /api/hs/office/partners?name=Test+AG
=> status: 200 OK
[ {
"uuid" : "72eb4871-122a-42d8-b9a7-e45b7faf9fef", // Partner: P-31010 - Test AG
"partnerNumber" : "P-31010",
"partnerRel" : {
"uuid" : "a4914399-27dc-4094-bf76-d6230d4f8373", // partnerRelationUuid
"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" : "f8f6ad7e-53d2-4cf0-9cb9-30ca2767c599", // partnerPersonUuid
"personType" : "LEGAL_PERSON",
"tradeName" : "Test AG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "22c8432b-6fc1-44b4-a977-e1d00327b323", // Contact: Test AG - China
"caption" : "Test AG - China",
"postalAddress" : {
"city" : "Dongguan City",
"firm" : "Test AG",
"name" : "Fi Zhong-Kha",
"street" : "No.2 Commercial Second Street",
"country" : "China",
"building" : "Thi Chi Koh Building",
"district" : "Niushan Wei Wu",
"province" : "Guangdong Province"
},
"emailAddresses" : {
"main" : "norden@test-ag.example.org"
},
"phoneNumbers" : {
"phone" : "++15 999 654321"
}
}
},
"details" : {
"uuid" : "ee1fbee4-f675-42f6-8cb7-66aa0b15e1b8",
"registrationOffice" : "Registergericht Hamburg",
"registrationNumber" : "1234567",
"birthName" : null,
"birthPlace" : null,
"birthday" : null,
"dateOfDeath" : null
}
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
POST /api/hs/office/memberships
{
"partner.uuid" : "72eb4871-122a-42d8-b9a7-e45b7faf9fef", // Partner: P-31010 - Test AG
"memberNumberSuffix" : "01",
"status" : "ACTIVE",
"validFrom" : "2025-02-24",
"membershipFeeBillable" : "true"
}
=> status: 201 CREATED 15fa2698-c1f8-416c-9dbe-c1cac641b94f
GET /api/hs/office/memberships/15fa2698-c1f8-416c-9dbe-c1cac641b94f
=> status: 200 OK
{
"uuid" : "15fa2698-c1f8-416c-9dbe-c1cac641b94f",
"partner" : {
"uuid" : "72eb4871-122a-42d8-b9a7-e45b7faf9fef", // Partner: P-31010 - Test AG
"partnerNumber" : "P-31010",
"partnerRel" : {
"uuid" : "a4914399-27dc-4094-bf76-d6230d4f8373", // partnerRelationUuid
"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" : "f8f6ad7e-53d2-4cf0-9cb9-30ca2767c599", // partnerPersonUuid
"personType" : "LEGAL_PERSON",
"tradeName" : "Test AG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
},
"type" : "PARTNER",
"mark" : null,
"contact" : {
"uuid" : "22c8432b-6fc1-44b4-a977-e1d00327b323", // Contact: Test AG - China
"caption" : "Test AG - China",
"postalAddress" : {
"city" : "Dongguan City",
"firm" : "Test AG",
"name" : "Fi Zhong-Kha",
"street" : "No.2 Commercial Second Street",
"country" : "China",
"building" : "Thi Chi Koh Building",
"district" : "Niushan Wei Wu",
"province" : "Guangdong Province"
},
"emailAddresses" : {
"main" : "norden@test-ag.example.org"
},
"phoneNumbers" : {
"phone" : "++15 999 654321"
}
}
},
"details" : {
"uuid" : "ee1fbee4-f675-42f6-8cb7-66aa0b15e1b8",
"registrationOffice" : "Registergericht Hamburg",
"registrationNumber" : "1234567",
"birthName" : null,
"birthPlace" : null,
"birthday" : null,
"dateOfDeath" : null
}
},
"mainDebitor" : null,
"memberNumber" : "M-3101001",
"memberNumberSuffix" : "01",
"validFrom" : "2025-02-24",
"validTo" : null,
"status" : "ACTIVE",
"membershipFeeBillable" : true
}
generated on 03-10-2025 12:07:43 for branch master