NotificationSubscriptions
Update a subscription
Updates the specified subscription by setting the values of the parameters passed. <br />Example Request
PUT /NotificationSubscriptions/Http/{id}
{
"Id": 1111,
"Url": "https://your-company.com/webhook-target-URL",
"Enabled": true,
"Name": "Subscription to new WOs",
"EventTypes": [
"WorkOrderCreated"
],
"Rules": {
"Trades": [
"GLASS"
],
"Categories": [
"MAINTENANCE"
]
}
}
put/NotificationSubscriptions/Http/{id}
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
The unique ID of the subscription to update.
Request body
Response
The subscription is updated, and the response is intentionally blank.
Changes
No recorded changes to this operation across all 1 revision of this API.