POST api/Alert/AddAlertByTradeRegister?packageId={packageId}
Fügt eine Überwachung eines Handelsregister Eintrags zu den Alerts hinzu.
Request Informationen
URI Parameter
| Name | Beschreibung | Typ | Zusatzinformation |
|---|---|---|---|
| packageId |
The package id. |
integer |
Keine. |
Body Parameter
The request.
AddAlertByTradeRegisterRequest| Name | Beschreibung | Typ | Zusatzinformation |
|---|---|---|---|
| TradeRegisterType | string |
Keine. |
|
| TradeRegisterNumber | string |
Keine. |
|
| TradeRegisterCourt | string |
Keine. |
Request Formate
application/json, text/json
Beispiel
{
"TradeRegisterType": "sample string 1",
"TradeRegisterNumber": "sample string 2",
"TradeRegisterCourt": "sample string 3"
}
application/x-www-form-urlencoded
Beispiel
HRB
application/xml, text/xml
Beispiel
<AddAlertByTradeRegisterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <TradeRegisterCourt>sample string 3</TradeRegisterCourt> <TradeRegisterNumber>sample string 2</TradeRegisterNumber> <TradeRegisterType>sample string 1</TradeRegisterType> </AddAlertByTradeRegisterRequest>
application/octet-stream
Beispiel
<AddAlertByTradeRegisterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><TradeRegisterCourt>sample string 3</TradeRegisterCourt><TradeRegisterNumber>sample string 2</TradeRegisterNumber><TradeRegisterType>sample string 1</TradeRegisterType></AddAlertByTradeRegisterRequest>
Response Informationen
Response Formate
application/json, text/json
Beispiel
{
"Added": true,
"AlertsLeft": 9,
"Header": null
}
application/xml, text/xml
Beispiel
<AddAlertByTradeRegisterResponse 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> <AlertsLeft>9</AlertsLeft> </AddAlertByTradeRegisterResponse>
application/octet-stream
Beispiel
<AddAlertByTradeRegisterResponse 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><AlertsLeft>9</AlertsLeft></AddAlertByTradeRegisterResponse>