Smartsheet.Api.Internal.WebhookResourcesImpl.GetWebhook C# (CSharp) Method

GetWebhook() public method

Gets the Webhook specified in the URL.

It mirrors To the following Smartsheet REST API method: GET /webhook/{webhookId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public GetWebhook ( long webhookId ) : Webhook
webhookId long the Id of the webhook
return Smartsheet.Api.Models.Webhook
        public virtual Webhook GetWebhook(long webhookId)
        {
            return this.GetResource<Webhook>("webhooks/" + webhookId, typeof(Webhook));
        }