Interface ContactResources


  • public interface ContactResources
    • 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