add comment about postalAddress sub-properties and compatibility

This commit is contained in:
Michael Hoennig 2024-11-06 08:56:51 +01:00
parent 11e9ecc95a
commit 284b8e125e

View File

@ -39,8 +39,10 @@ public class ReplaceContactData extends UseCase<ReplaceContactData> {
}
"""))
.expecting(CREATED).expecting(JSON),
"Please check first if that contact already exists, if so, use it's UUID below."
);
"Please check first if that contact already exists, if so, use it's UUID below.",
"If any `postalAddress` sub-properties besides those specified in the API " +
"(currently `firm`, `name`, `co`, `street`, `zipcode`, `city`, `country`) " +
"its values might not appear in external systems.");
withTitle("Replace the Contact-Reference in the Partner-Relation", () ->
httpPatch("/api/hs/office/relations/%{partnerRelationUuid}", usingJsonBody("""