When the subscription is about to expire the callbackUrl will get SUBSCRIPTION_EXPIRING event. The event type will be SUBSCRIPTION_EXPIRING. The HTTP endpoint should renew the subscription if it is needed. Please click here to get details on Event notification.
| Method | PUT
|
| Request URL |
/services/EventingConnector/subscriptions/{subscriptionId}
|
| Request Content-type |
N/A
|
| Request Body |
N/A
|
| Response Content-type |
application/json
|
| Response Body | |
| Response Status |
200 – subscription successfully renewed
400 – invalid request 404 - Subscription with subscriptionId not found 500 – Runtime errors |
{
"title":"SubscriptionResponse",
"description":"Response object of subscription from EFC",
"type":"object",
"properties":{
"subscriptionId":{
"type":"string",
"description":"ID of the subscription"
},
"message":{
"type":"string"
}
}
}
Copyright © 2017 Avaya. All Rights Reserved.