Package com.smartsheet.api
Interface ContactResources
-
public interface ContactResources
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Contact
getContact(java.lang.String contactId)
Gets the specified Contact.PagedResult<Contact>
listContacts(PaginationParameters parameters)
Gets a list of the user’s Smartsheet Contacts.
-
-
-
Method Detail
-
getContact
Contact getContact(java.lang.String contactId) throws SmartsheetException
Gets the specified Contact.
It mirrors to the following Smartsheet REST API method: GET /contacts/{contactId}
- Parameters:
contactId
- the ID of the contact- Returns:
- the contact object
- Throws:
SmartsheetException
- if there is any other error during the operation
-
listContacts
PagedResult<Contact> listContacts(PaginationParameters parameters) throws SmartsheetException
Gets a list of the user’s Smartsheet Contacts.
It mirrors to the following Smartsheet REST API method: GET /contacts
- Parameters:
parameters
- the pagination parameters- Returns:
- the contacts as a paged list
- Throws:
SmartsheetException
- if there is any other error during the operation
-
-