From a9ea206eb9a740954de21de00ea67b4fb6ef554d Mon Sep 17 00:00:00 2001 From: Dennis Schubert Date: Sat, 26 Jan 2019 08:57:10 +0100 Subject: [PATCH] Contacts: Add payload to the route adding a contact Part of #30 --- _routes/contacts.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/_routes/contacts.md b/_routes/contacts.md index 74e053a..ece4522 100644 --- a/_routes/contacts.md +++ b/_routes/contacts.md @@ -38,8 +38,19 @@ GET /api/v1/aspects/:aspect_id/contacts ### Request ~~~ -POST /api/v1/aspects/:aspect_id/contacts/:person_guid +POST /api/v1/aspects/:aspect_id/contacts ~~~ +~~~json +{ + "person": "cb7e4aa0b82f0133e40d406c8f31e210" +} +~~~ + +### Parameters + +| Name | Type | Description | +| ------ | ---- | ---------------------------------------------------------------- | +| person | GUID | The GUID of the person that should be added to the given aspect. | ### Response