public interface SheetUpdateRequestResources
| Modifier and Type | Method and Description |
|---|---|
UpdateRequest |
createUpdateRequest(long sheetId,
UpdateRequest updateRequest)
Creates an Update Request for the specified Row(s) within the Sheet.
|
void |
deleteSentUpdateRequest(long sheetId,
long sentUpdateRequestId)
Deletes the specified sent update request.
|
void |
deleteUpdateRequest(long sheetId,
long updateRequestId)
Terminates the future scheduled delivery of the Update Request specified in the URL.
|
SentUpdateRequest |
getSentUpdateRequest(long sheetId,
long sentUpdateRequestId)
Gets the specified sent update request on the Sheet.
|
UpdateRequest |
getUpdateRequest(long sheetId,
long updateRequestId)
Gets the specified Update Request for the Sheet that has a future schedule.
|
PagedResult<SentUpdateRequest> |
listSentUpdateRequests(long sheetId,
PaginationParameters paging)
Gets a list of all Sent Update Requests that have future schedules associated with the specified Sheet.
|
PagedResult<UpdateRequest> |
listUpdateRequests(long sheetId,
PaginationParameters paging)
Gets a list of all Update Requests that have future schedules associated with the specified Sheet.
|
UpdateRequest |
updateUpdateRequest(long sheetId,
UpdateRequest updateRequest)
Changes the specified Update Request for the Sheet.
|
PagedResult<UpdateRequest> listUpdateRequests(long sheetId, PaginationParameters paging) throws SmartsheetException
Gets a list of all Update Requests that have future schedules associated with the specified Sheet.
It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/updaterequests
sheetId - the Id of the sheetpaging - the object containing the pagination parametersIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationUpdateRequest getUpdateRequest(long sheetId, long updateRequestId) throws SmartsheetException
Gets the specified Update Request for the Sheet that has a future schedule.
It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/updaterequests/{updateRequestId}
sheetId - the Id of the sheetupdateRequestId - the update request IdIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationUpdateRequest createUpdateRequest(long sheetId, UpdateRequest updateRequest) throws SmartsheetException
Creates an Update Request for the specified Row(s) within the Sheet. An email notification (containing a link to the update request) will be asynchronously sent to the specified recipient(s).
It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/updaterequests
sheetId - the Id of the sheetupdateRequest - the update request objectIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationvoid deleteUpdateRequest(long sheetId,
long updateRequestId)
throws SmartsheetException
Terminates the future scheduled delivery of the Update Request specified in the URL.
It mirrors to the following Smartsheet REST API method: DELETE /sheets/{sheetId}/updaterequests/{updateRequestId}
sheetId - the Id of the sheetupdateRequestId - the update request IdIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationUpdateRequest updateUpdateRequest(long sheetId, UpdateRequest updateRequest) throws SmartsheetException
Changes the specified Update Request for the Sheet.
It mirrors to the following Smartsheet REST API method: PUT /sheets/{sheetId}/updaterequests/{updateRequestId}
sheetId - the Id of the sheetupdateRequest - the update request objectIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationPagedResult<SentUpdateRequest> listSentUpdateRequests(long sheetId, PaginationParameters paging) throws SmartsheetException
Gets a list of all Sent Update Requests that have future schedules associated with the specified Sheet.
It mirrors To the following Smartsheet REST API method: GET /sheets/{sheetId}/sentupdaterequests
sheetId - the Id of the sheetpaging - the object containing the pagination parametersIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationSentUpdateRequest getSentUpdateRequest(long sheetId, long sentUpdateRequestId) throws SmartsheetException
Gets the specified sent update request on the Sheet.
It mirrors To the following Smartsheet REST API method: GET /sheets/{sheetId}/sentupdaterequests/{updateRequestId}
sheetId - the Id of the sheetsentUpdateRequestId - the sent update request IdIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationvoid deleteSentUpdateRequest(long sheetId,
long sentUpdateRequestId)
throws SmartsheetException
Deletes the specified sent update request.
It mirrors To the following Smartsheet REST API method: DELETE /sheets/{sheetId}/sentupdaterequests/{sentUpdateRequestId}
sheetId - the Id of the sheetsentUpdateRequestId - the sent update request IdIllegalArgumentException - if any argument is null or empty stringInvalidRequestException - if there is any problem with the REST API requestAuthorizationException - if there is any problem with the REST API authorization (access token)ResourceNotFoundException - if the resource cannot be foundServiceUnavailableException - if the REST API service is not available (possibly due to rate limiting)SmartsheetException - if there is any other error during the operationCopyright © 2014–2017 Smartsheet. All rights reserved.