OttoFMS Settings
Update Offsite Notification Settings
Request Body
application/json
POST /otto/api/settings/offsite/notifications Request body
sendSuccessNotifications?boolean
Default
truetype*string
channelUrl*string
Format
urllabel?string
Response Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/settings/offsite/notifications" \ -H "Content-Type: application/json" \ -d '{ "type": "slack", "channelUrl": "string" }'{
"response": {
"offsiteNotificationSettings": {
"type": "slack",
"channelUrl": "string",
"label": "string",
"sendSuccessNotifications": true
}
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}