Method | Description | |
---|---|---|
CreateWebhook ( |
Creates a new Webhook. The request body is limited to name(required), callbackUrl (required), scope (required) scopeObjectId (required), events(required), version(required) It mirrors To the following Smartsheet REST API method:POST /webhooks
|
|
DeleteWebhook ( long webhookId ) : void |
Delete a webhook. It mirrors To the following Smartsheet REST API method: DELETE /webhooks/{webhookId}
|
|
GetWebhook ( long webhookId ) : |
Gets the Webhook specified in the URL. It mirrors To the following Smartsheet REST API method: GET /webhook/{webhookId}
|
|
ListWebhooks ( |
Gets the list of all Webhooks that the user owns (if a user generated token was used to make the request) or the list of all Webhooks associated with the third-party app (if a third-party app made the request). Items in the response are ordered by API Client name, then Webhook name, then creation date. It mirrors To the following Smartsheet REST API method: GET /webhooks
|
|
ResetSharedSecret ( long webhookId ) : |
Resets the shared secret for the specified Webhook. For more information about how a shared secret is used, see Authenticating Callbacks. The request body should be empty It mirrors To the following Smartsheet REST API method: POST /webhooks/{webhookId}/resetsharedsecret
|
|
UpdateWebhook ( |
Updates the Webhook specified in the URL. The request body is limited to the name, events, callbackUrl, enabled and version attributes.It mirrors To the following Smartsheet REST API method: PUT /webhooks/{webhookId}
|
|
WebhookResourcesImpl ( |
Constructor. Exceptions: - IllegalArgumentException : if any argument is null
|
public CreateWebhook ( |
||
webhook | the webhook to be created | |
return |
public DeleteWebhook ( long webhookId ) : void | ||
webhookId | long | the sightId |
return | void |
public GetWebhook ( long webhookId ) : |
||
webhookId | long | the Id of the webhook |
return |
public ListWebhooks ( |
||
paging | ||
return | PaginatedResult |
public ResetSharedSecret ( long webhookId ) : |
||
webhookId | long | the sightId |
return |
public UpdateWebhook ( |
||
webhook | the webhook To update | |
return |
public WebhookResourcesImpl ( |
||
smartsheet | the Smartsheet | |
return | System |