public interface HubSpotClient
String authenticate(String userId, Map<String,Object> headers) throws HubSpotConnectorException
HubSpotConnectorException
ContactList getAllContacts(String accessToken, String userId, String count, String contactOffset) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
ContactList getRecentContacts(String accessToken, String userId, String count, String timeOffset, String contactOffset) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
Contact getContactById(String accessToken, String userId, String contactId) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
Contact getContactByEmail(String accessToken, String userId, String contactEmail) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
Contact getContactByUserToken(String accessToken, String userId, String contactUserToken) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
ContactQuery getContactsByQuery(String accessToken, String userId, String query, String count) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
ContactDeleted deleteContact(String accessToken, String userId, String contactId) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
void updateContact(String accessToken, String userId, String contactId, ContactProperties contactProperties) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
Contact createContact(String accessToken, String userId, ContactProperties contactProperties) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
ContactStatistics getContactStatistics(String accessToken, String userId) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
HubSpotListLists getContactsLists(String accessToken, String userId, String count, String offset) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
HubSpotList getContactListById(String accessToken, String userId, String listId) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
HubSpotListLists getDynamicContactLists(String accessToken, String userId, String count, String offset) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
ContactList getContactsInAList(String accessToken, String userId, String listId, String count, String property, String offset) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
HubSpotListAddContactToListResponse addExistingContactInAList(String accessToken, String userId, String listId, String contactId) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
HubSpotList createContactList(String accessToken, String userId, HubSpotNewList list, List<HubSpotListFilters> filters) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
EmailSubscription getEmailSubscriptions(String accessToken, String userId, String hubId) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
EmailSubscriptionStatus getEmailSubscriptionStatus(String accessToken, String userId, String hubId, String email) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
EmailSubscriptionStatusResult updateEmailSubscriptionStatus(String accessToken, String userId, String hubId, String email, List<EmailSubscriptionStatusStatuses> statuses) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
EmailSubscriptionStatusResult updateEmailSubscriptionStatusUnsubscribeFromAll(String accessToken, String userId, String hubId, String email) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
List<CustomContactProperty> getAllCustomProperties(String accessToken, String userId) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
CustomContactProperty createCustomProperty(String accessToken, String userId, CustomContactProperty contactProperty) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
CustomContactProperty updateCustomProperty(String accessToken, String userId, String propertyName, CustomContactProperty contactProperty) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
void deleteCustomProperty(String accessToken, String userId, String contactPropertyName) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
CustomContactPropertyGroup getCustomPropertyGroup(String accessToken, String userId, String groupName) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
CustomContactPropertyGroup createCustomPropertyGroup(String accessToken, String userId, CustomContactPropertyGroup customContactPropertyGroup) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
CustomContactPropertyGroup updateCustomPropertyGroup(String accessToken, String userId, String groupName, CustomContactPropertyGroup customContactPropertyGroup) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
void deleteCustomPropertyGroup(String accessToken, String userId, String groupName) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
void refreshToken(HubSpotCredentialsManager objectStoreCredentials, String userId) throws HubSpotConnectorException, HubSpotConnectorNoAccessTokenException, HubSpotConnectorAccessTokenExpiredException
Copyright © 2010–2016. All rights reserved.