Payload to Webhook Endpoints
The following subsections show a sample payload that would be delivered to a webhook endpoint when a certain event occurs.
Entitlement Event Sample Payload
{
"eventHeader": {
"event": "ENT",
"eventType": "UPDATE",
"userId": "1000admin",
"tenant": "1000",
"timeStamp": "1683289809743"
},
"eventBody": {
"entitlementId": "3395",
"entitlementName": "NOTIF-TEST-3",
"version": "1.0",
"soldToAccount": "SAMPLE_ORG",
"accounts": [
"SAMPLE_ORG"
],
"lineItems": []
}
}
Line Item Event Sample Payload
{
"eventHeader" : {
"event" : "ENT",
"eventType" : "UPDATE",
"userId" : "1000admin",
"tenant" : "1000",
"timeStamp" : "1682400267304"
},
"eventBody" : {
"entitlementId" : "3394",
"entitlementName" : "NOTIF-TESTS-1",
"version" : "1.0",
"soldToAccount" : "SAMPLE_ORG",
"accounts" : [ "testAccount", "SAMPLE_ORG" ],
"lineItems" : [ {
"activationId" : "ACT-e0e0-7045-B6c2-781",
"description" : "line desc",
"licenseModel" : "Floating Counted",
"orderId" : "addedordId",
"copies" : "10",
"exactAvailableCount" : "9",
"startDate" : "1680048000000",
"expirationDate" : null,
"products" : [ {
"name" : "prodtest1",
"version" : "2.0"
} ]
} ]
}
}
Product Event Sample Payload
{
"eventHeader": {
"event": "PROD",
"eventType": "UPDATE",
"userId": "1000admin",
"tenant": "1000",
"timeStamp": "1665044575475"
},
"eventBody": {
"productId": "1676",
"productName": "demo-product-for-notifications",
"version": "1.0",
"features": [
{
"featureName": "2Dline",
"version": "1",
"count": "1"
}
]
}
}
Device Event Sample Payload