| Package | Description |
|---|---|
| com.smartsheet.api | |
| com.smartsheet.api.models |
| Modifier and Type | Method and Description |
|---|---|
Webhook |
WebhookResources.createWebhook(Webhook webhook)
Creates a new Webhook.
|
Webhook |
WebhookResources.getWebhook(long webhookId)
Gets the Webhook specified in the URL.
|
Webhook |
WebhookResources.updateWebhook(Webhook webhook)
Updates the webhooks specified in the URL.
|
| Modifier and Type | Method and Description |
|---|---|
PagedResult<Webhook> |
WebhookResources.listWebhooks(PaginationParameters paging)
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).
|
| Modifier and Type | Method and Description |
|---|---|
Webhook |
WebhookResources.createWebhook(Webhook webhook)
Creates a new Webhook.
|
Webhook |
WebhookResources.updateWebhook(Webhook webhook)
Updates the webhooks specified in the URL.
|
| Modifier and Type | Method and Description |
|---|---|
Webhook |
Webhook.setApiClientId(String apiClientId)
Set the API client Id corresponding to third-party app that created the webhook.
|
Webhook |
Webhook.setApiClientName(String apiClientName)
Set the API client name corresponding to third-party app that created the webhook.
|
Webhook |
Webhook.setCallbackUrl(String callbackUrl)
Set the HTTPS URL where callbacks will be sent
|
Webhook |
Webhook.setCreatedAt(Date createdAt)
Set the time the webhook was created.
|
Webhook |
Webhook.setDisabledDetails(String disabledDetails)
Set the details about the reason the webhook was disabled.
|
Webhook |
Webhook.setEnabled(Boolean enabled)
Set flag indicating whether the webhook is on or off.
|
Webhook |
Webhook.setEvents(List<String> events)
Set the array of events that are subscribed to
|
Webhook |
Webhook.setModifiedAt(Date modifiedAt)
Set the time that the webhook was last modified.
|
Webhook |
Webhook.setScope(String scope)
Set the scope of the subscription
|
Webhook |
Webhook.setScopeObjectId(Long scopeObjectId)
Set the Id of the object that is subscribed to
|
Webhook |
Webhook.setSharedSecret(String sharedSecret)
Set the shared secret for this webhook
|
Webhook |
Webhook.setStats(WebhookStats stats)
Set the statistics for this webhook.
|
Webhook |
Webhook.setStatus(WebhookStatus status)
Set the webhook status
|
Webhook |
Webhook.setVersion(Integer version)
Set the webhook version
|
Copyright © 2014–2017 Smartsheet. All rights reserved.