Webhook-Endpunkte
Die Endpunkte dieser Endpunktberechtigung finden Sie im Controller "WebHook".
Die Endpunkte der Version 1.2 sind momentan in der Entwicklung und können noch Änderungen erfahren.
Webhooks abrufen
Version 1.2
get
Autorisierungen
Abfrageparameter
apiKeystringOptional
limitinteger · int32OptionalExample:
20offsetinteger · int32Optional
webHookIdinteger · int32Optional
showNullValuesbooleanOptionalDefault:
falseAntworten
200
OK
400
Bad Request
401
Unauthorized
get
/openwowi/v1.2/WebHook/WebHookGET /openwowi/v1.2/WebHook/WebHook HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"Id": 1,
"Name": "text",
"SystemPurpose": "text",
"Url": "text",
"Active": true,
"Source": {
"Id": 1,
"Code": "text",
"EntityName": "text"
},
"AuthType": {
"Id": 1,
"Code": "text"
}
}
]Webhooks ändern
Version 1.2
put
Autorisierungen
Abfrageparameter
apiKeystringOptional
Rumpf
Idinteger · int32Optional
Urlstring | nullfähigOptional
ActivebooleanOptional
AuthenticationTypeIdinteger · int32Optional
Antworten
200
OK
400
Bad Request
401
Unauthorized
put
/openwowi/v1.2/WebHook/WebHook/ChangePUT /openwowi/v1.2/WebHook/WebHook/Change HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 198
{
"Id": 1,
"Url": "text",
"Active": true,
"AuthenticationTypeId": 1,
"AuthBearer": {
"BearerToken": "text"
},
"AuthBasic": {
"User": "text",
"Password": "text"
},
"AuthCustom": {
"HeaderName": "text",
"HeaderValue": "text"
}
}{
"Id": 1,
"Name": "text"
}Webhooks testen
Version 1.2
post
Autorisierungen
Abfrageparameter
apiKeystringOptional
Rumpf
Idinteger · int32Optional
Antworten
200
OK
400
Bad Request
401
Unauthorized
post
/openwowi/v1.2/WebHook/WebHook/TestExecutePOST /openwowi/v1.2/WebHook/WebHook/TestExecute HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 8
{
"Id": 1
}{
"Id": 1,
"Name": "text"
}Zuletzt aktualisiert
