POST api/Watch/AddToWatchList?packageId={packageId}
Fügt ein einzelnes Verfahren zu der Überwachungsliste hinzu.
Request Informationen
URI Parameter
Name | Beschreibung | Typ | Zusatzinformation |
---|---|---|---|
packageId |
The package id. |
integer |
Keine. |
Body Parameter
The request.
AddToWatchListRequestName | Beschreibung | Typ | Zusatzinformation |
---|---|---|---|
InsolvencyId | integer |
Keine. |
Request Formate
application/json, text/json
Beispiel
{ "InsolvencyId": 1 }
application/x-www-form-urlencoded
Beispiel
1
application/xml, text/xml
Beispiel
<AddToWatchListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <InsolvencyId>1</InsolvencyId> </AddToWatchListRequest>
application/octet-stream
Beispiel
<AddToWatchListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><InsolvencyId>1</InsolvencyId></AddToWatchListRequest>
Response Informationen
Response Formate
application/json, text/json
Beispiel
{ "Added": true, "WatchListLeft": 9, "Header": null }
application/xml, text/xml
Beispiel
<AddToWatchListResponse xmlns="http://schemas.datacontract.org/2004/07/Inso.WebAPI.Domain.Models" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Header i:nil="true" /> <Added>true</Added> <WatchListLeft>9</WatchListLeft> </AddToWatchListResponse>
application/octet-stream
Beispiel
<AddToWatchListResponse xmlns="http://schemas.datacontract.org/2004/07/Inso.WebAPI.Domain.Models" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Header i:nil="true"/><Added>true</Added><WatchListLeft>9</WatchListLeft></AddToWatchListResponse>