@@ -159,3 +159,79 @@ Die Response ist eine Liste die für jede Beilage die folgenden Informationen zu
159159 "source": "dossier-1/proposal-1/document-76"
160160 }
161161 ]
162+
163+
164+ Protokollauszug im Antragsdossier ablegen
165+ =========================================
166+
167+ Mit dem ``@ris-return-excerpt `` Endpoint können Protokollauszüge aus der SPV
168+ ins Antragsdossier eingereicht werden. Der Endpoint erwartet als Pfad Parameter:
169+
170+ - Mandant ID
171+ - relative Dossierpfad
172+
173+
174+ **Beispiel-Request **:
175+
176+ .. sourcecode :: http
177+
178+ POST ordnungssystem/dossier-1/document-1/@ris-return-excerpt HTTP/1.1
179+ Accept: application/json
180+
181+ {
182+ "target_admin_unit_id": "fd",
183+ "target_dossier_relative_path": "ordnungssystem/dossier-1"
184+ }
185+
186+ **Beispiel-Response **:
187+
188+
189+ .. sourcecode :: http
190+
191+ HTTP/1.1 200 OK
192+ Content-Type: application/json
193+
194+ {
195+ "path": "ordnungssystem/dossier-2/document-2",
196+ "intid": 3,
197+ "url": "http://gever.onegovgever.ch/fd/ordnungssystem/dossier-2/document-2",
198+ "current_version_id": 1,
199+ }
200+
201+
202+ Protokollauszug im Antragsdossier aktualisieren
203+ ===============================================
204+
205+ Mit dem ``@ris-update-excerpt `` Endpoint können Protokollauszüge aus der SPV
206+ im Antragsdossier aktualisiert werden. Der Endpoint erwartet als Pfad Parameter:
207+
208+ - Mandant ID
209+ - relative Dokumentpfad vom Protokollauszug
210+
211+
212+ **Beispiel-Request **:
213+
214+ .. sourcecode :: http
215+
216+ POST ordnungssystem/dossier-1/document-1/@ris-update-excerpt HTTP/1.1
217+ Accept: application/json
218+
219+ {
220+ "target_admin_unit_id": "fd",
221+ "target_document_relative_path": "ordnungssystem/dossier-1/document-1"
222+ }
223+
224+ **Beispiel-Response **:
225+
226+
227+ .. sourcecode :: http
228+
229+ HTTP/1.1 200 OK
230+ Content-Type: application/json
231+
232+ {
233+ "path": "ordnungssystem/dossier-2/document-2",
234+ "intid": 3,
235+ "url": "http://gever.onegovgever.ch/fd/ordnungssystem/dossier-2/document-2",
236+ "current_version_id": 1,
237+ }
0 commit comments