From 2a9bc9d5e39ab88cd5cb7e39d326e57537ba0010 Mon Sep 17 00:00:00 2001 From: Aliaksei Barushka <59763751+aliakseivedae@users.noreply.github.com> Date: Thu, 11 Jan 2024 18:09:47 +0100 Subject: [PATCH] Update DerivativeWebhooksApi.cs added support for extraction.updated webhook --- src/Autodesk.Forge/Api/DerivativeWebhooksApi.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Autodesk.Forge/Api/DerivativeWebhooksApi.cs b/src/Autodesk.Forge/Api/DerivativeWebhooksApi.cs index 16e03ad..9e22837 100644 --- a/src/Autodesk.Forge/Api/DerivativeWebhooksApi.cs +++ b/src/Autodesk.Forge/Api/DerivativeWebhooksApi.cs @@ -1,7 +1,7 @@ /* * Forge SDK * - * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering. + * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering. * * Contact: forge.help@autodesk.com @@ -464,6 +464,8 @@ private string EventEnumToString (DerivativeWebhookEvent webhookEvent) { switch ( webhookEvent ) { case DerivativeWebhookEvent.ExtractionFinished: return "extraction.finished"; + case DerivativeWebhookEvent.ExtractionUpdated: + return "extraction.updated"; default: throw new ApiException (400, "Webhook event type {webhookEvent} is not implemented."); } @@ -491,4 +493,4 @@ private dynamic CreateWebhookPostObject (string callbackUrl, string workflow, dy } -} \ No newline at end of file +}