Smartsheet.Api.Internal.ContactResourcesImpl.ListContacts C# (CSharp) Method

ListContacts() public method

Gets a list of the user’s Smartsheet Contacts.

It mirrors To the following Smartsheet REST API method: POST GET /contacts

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public ListContacts ( PaginationParameters paging ) : PaginatedResult
paging Smartsheet.Api.Models.PaginationParameters the pagination info
return PaginatedResult
        public virtual PaginatedResult<Contact> ListContacts(PaginationParameters paging)
        {
            StringBuilder path = new StringBuilder("contacts");
            if (paging != null)
            {
                path.Append(paging.ToQueryString());
            }
            return ListResourcesWithWrapper<Contact>(path.ToString());
        }