यह पृष्ठ Wink पर आप जिन भी वेबहुक इवेंट्स को सब्सक्राइब कर सकते हैं, उनकी सूची देता है। सेटअप निर्देशों के लिए, देखें Webhook Integration Guide या Webhooks management page ।
अपने पोर्टल में Applications > Webhooks पर जाएं।
एक वेबहुक बनाएं और उन इवेंट्स का चयन करें जिन्हें आप प्राप्त करना चाहते हैं — या सभी इवेंट्स प्राप्त करने के लिए सूची खाली छोड़ दें।
जब भी इवेंट होता है, Wink आपके एंडपॉइंट पर एक साइन किया हुआ HTTP POST भेजता है। एनवेलप, हेडर, सिग्नेचर सत्यापन और पुनः प्रयास के लिए देखें Webhook Integration ।
यह तालिका प्लेटफ़ॉर्म के इवेंट कैटलॉग से बिल्ड समय पर उत्पन्न होती है, इसलिए यह हमेशा API से मेल खाती है। डिलीवर किए गए इवेंट प्रकार उनके संदर्भ पृष्ठ से लिंक करते हैं Webhooks API , जो सटीक JSON बॉडी (WebhookEnvelope जिसमें इवेंट-विशिष्ट object होता है), Wink-* हेडर और पुनः प्रयास नीति का दस्तावेज़ीकरण करता है। जो इवेंट प्रकार डिलीवर नहीं किए जाते वे आंतरिक रूप से मौजूद हैं (भुगतान, लेजर, चैनल-मैनेजर सिंक, …) लेकिन वर्तमान में वे वेबहुक सब्सक्राइबर्स को नहीं भेजे जाते।
Recipients बताता है कि इवेंट किसे प्राप्त होता है: SUPPLIER (होटल), AFFILIATE (होटल के लिए सक्रिय बिक्री चैनल वाला रीसैलर), AGENT (ट्रैवल एजेंसी जिसने बुकिंग की) या SELF (जिस प्रबंधकीय इकाई के बारे में इवेंट है)। हर प्राप्तकर्ता को समान पेलोड आकार प्राप्त होता है; भूमिका-विशिष्ट विवरण पेलोड के links.self URL के पीछे होता है।
account.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता account.details.updatedThe account's details changed. डिलीवर नहीं किया गया — account.managers.updateThe account's manager list changed. ✓ डिलीवर किया गया SELF account.task.completeAn onboarding task was completed. डिलीवर नहीं किया गया — account.task.createAn onboarding task was created for the account. डिलीवर नहीं किया गया — account.task.removeAn onboarding task was removed. डिलीवर नहीं किया गया — account.task.tax_id.completeThe tax-id onboarding task was completed. डिलीवर नहीं किया गया — account.task.updateAn onboarding task was updated. डिलीवर नहीं किया गया — account.under_reviewThe account was placed under review. डिलीवर नहीं किया गया —
activity.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता activity.createdAn activity was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER activity.deletedAn activity was deleted. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER activity.updatedAn activity was updated. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER
add_on.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता add_on.createdAn add-on was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER add_on.deletedAn add-on was deleted. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER add_on.updatedAn add-on was updated. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER
booking.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता booking.cancelledA booking was cancelled. ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.createA booking was created (confirmed). ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.failedA booking attempt failed. ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.funds.availableFunds for a booking became available for payout. ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.funds.ledgeredFunds for a booking were added to the ledger. ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.initialize.completeA booking initialisation completed. डिलीवर नहीं किया गया — booking.initialize.requestA booking initialisation (checkout) was requested. डिलीवर नहीं किया गया — booking.payout.completeA payout for a booking completed. डिलीवर नहीं किया गया — booking.payout.createA payout for a booking was created. डिलीवर नहीं किया गया — booking.processingA booking is being processed. डिलीवर नहीं किया गया — booking.refund.errorA booking was refunded because of a processing error. डिलीवर नहीं किया गया — booking.refund.fullA booking was fully refunded. ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.refund.partialA booking was partially refunded. ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.refund.requestA refund was requested for a booking. ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.review.createdA guest submitted a review for a booking. ✓ डिलीवर किया गया SUPPLIER booking.review.respondedThe hotel responded to a guest review. ✓ डिलीवर किया गया AFFILIATE, AGENT, SUPPLIER booking.sync.failedA booking-to-channel-manager synchronisation failed. डिलीवर नहीं किया गया — booking.sync.runA booking-to-channel-manager synchronisation run started. डिलीवर नहीं किया गया —
channel-manager.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता channel-manager.updateA channel manager pushed an update. डिलीवर नहीं किया गया — channel-manager.update.availabilityA channel manager pushed an availability update. डिलीवर नहीं किया गया — channel-manager.update.rateA channel manager pushed a rate update. डिलीवर नहीं किया गया —
email.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता email.correspondenceAn email correspondence was recorded. डिलीवर नहीं किया गया —
internal.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता internal.payment.failedA payment failed (internal). डिलीवर नहीं किया गया — internal.payment.processingA payment is processing (internal). डिलीवर नहीं किया गया — internal.payment.succeededA payment succeeded (internal). डिलीवर नहीं किया गया —
ledger.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता ledger.entry.createA ledger entry was created. डिलीवर नहीं किया गया —
payee.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता payee.createA payee was created. डिलीवर नहीं किया गया — payee.create.failureCreating a payee failed. डिलीवर नहीं किया गया — payee.updateA payee was updated. डिलीवर नहीं किया गया — payee.update.failureUpdating a payee failed. डिलीवर नहीं किया गया —
perk.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता perk.deletedA perk was deleted. डिलीवर नहीं किया गया — perk.updatedA perk was updated. डिलीवर नहीं किया गया —
property.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता property.address.updatedA property's address changed. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.createdA property (hotel) was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.deletedA property was deleted. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.geolocation.updatedA property's geolocation changed. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.name.updatedA property's name changed. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.policy.createdA property policy was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.policy.updatedA property policy changed. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.profile.updatedA property's profile changed. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.registeredA property completed registration. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.services.updatedA property's services/amenities changed. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.status.updatedA property's platform status changed. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER property.updatedA property was updated. डिलीवर नहीं किया गया — property.welcome_text.updatedA property's welcome text changed. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER
rate_modifier.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता rate_modifier.updatedA rate modifier was updated. डिलीवर नहीं किया गया —
rate_plan.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता rate_plan.createdA rate plan was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER rate_plan.deletedA rate plan was deleted. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER rate_plan.updatedA rate plan was updated. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER
restaurant.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता restaurant.createdA restaurant was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER restaurant.deletedA restaurant was deleted. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER restaurant.updatedA restaurant was updated. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER
room_type.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता room_type.createdA room type was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER room_type.deletedA room type was deleted. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER room_type.updatedA room type was updated. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER
sales_channel.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता sales_channel.createdA sales-channel relationship (supplier ↔ reseller) was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER sales_channel.deletedA sales-channel relationship was deleted. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER sales_channel.updatedA sales-channel relationship was updated. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER
spa.*इवेंट विवरण डिलीवर किया गया प्राप्तकर्ता spa.createdA spa was created. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER spa.deletedA spa was deleted. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER spa.updatedA spa was updated. ✓ डिलीवर किया गया AFFILIATE, SUPPLIER
संकेत
डेवलपमेंट के दौरान सभी इवेंट्स को सब्सक्राइब करके शुरू करें। एक बार जब आप समझ जाएं कि आपके सिस्टम को कौन से पेलोड्स चाहिए, तो शोर कम करने के लिए अपनी सब्सक्रिप्शन सीमित करें। लाइव जाने से पहले अपने एंडपॉइंट और सिग्नेचर जांच की पुष्टि के लिए Applications > Webhooks से (या POST …/webhook/{id}/test) एक टेस्ट इवेंट भेजें।