[AccompanyingPeriod] add location to serialization

This commit is contained in:
2021-07-27 21:25:38 +02:00
parent 34f22d237e
commit 4cca148f69
2 changed files with 83 additions and 0 deletions

View File

@@ -416,6 +416,26 @@ paths:
This is my an initial comment.
Say hello to the new "parcours"!
Setting person with id 8405 as locator:
value:
type: accompanying_period
id: 0
personLocation:
type: person
id: 8405
Removing person location for both person and address:
value:
type: accompanying_period
id: 0
personLocation: null
addressLocation: null
Adding address with id 7960 as temporarily address:
value:
type: accompanying_period
id: 0
personLocation: null
addressLocation:
id: 7960
responses:
401:
description: "Unauthorized"