add comment about postalAddress sub-properties and compatibility
This commit is contained in:
parent
11e9ecc95a
commit
284b8e125e
@ -39,16 +39,18 @@ public class ReplaceContactData extends UseCase<ReplaceContactData> {
|
|||||||
}
|
}
|
||||||
"""))
|
"""))
|
||||||
.expecting(CREATED).expecting(JSON),
|
.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", () ->
|
withTitle("Replace the Contact-Reference in the Partner-Relation", () ->
|
||||||
httpPatch("/api/hs/office/relations/%{partnerRelationUuid}", usingJsonBody("""
|
httpPatch("/api/hs/office/relations/%{partnerRelationUuid}", usingJsonBody("""
|
||||||
{
|
{
|
||||||
"contactUuid": ${Contact: %{newContactCaption}}
|
"contactUuid": ${Contact: %{newContactCaption}}
|
||||||
}
|
}
|
||||||
"""))
|
"""))
|
||||||
.expecting(OK)
|
.expecting(OK)
|
||||||
);
|
);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user