Building the API client library requires Maven to be installed.
To install the API client library to your local Maven repository, simply execute:
mvn install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn deploy
Refer to the official documentation for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>com.infusionsoft</groupId>
<artifactId>infusionsoft-sdk-java</artifactId>
<version>0.0.1</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
compile "com.infusionsoft:infusionsoft-sdk-java:0.0.1"
At first generate the JAR by executing:
mvn package
Then manually install the following JARs:
- target/infusionsoft-sdk-java-0.0.1.jar
- target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import com.infusionsoft.*;
import com.infusionsoft.auth.*;
import com.infusionsoft.model.*;
import com.infusionsoft.api.AccountInfoApi;
import java.io.File;
import java.util.*;
public class AccountInfoApiExample {
public static void main(String[] args) {
AccountInfoApi apiInstance = new AccountInfoApi();
try {
InfusionsoftAccountProfile result = apiInstance.getAccountProfileUsingGET();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AccountInfoApi#getAccountProfileUsingGET");
e.printStackTrace();
}
}
}
All URIs are relative to https://api.infusiontest.com/crm/rest/v1
Class | Method | HTTP request | Description |
---|---|---|---|
AccountInfoApi | getAccountProfileUsingGET | GET /account/profile | Retrieve account profile |
AffiliateApi | searchCommissionsUsingGET | GET /affiliates/commissions | Retrieve Commissions |
AppointmentApi | createAppointmentUsingPOST | POST /appointments | Create an Appointment |
AppointmentApi | deleteAppointmentUsingDELETE | DELETE /appointments/{appointmentId} | Delete an Appointment |
AppointmentApi | getAppointmentUsingGET | GET /appointments/{appointmentId} | Retrieve an Appointment |
AppointmentApi | listAppointmentsUsingGET | GET /appointments | List Appointments |
AppointmentApi | updateAppointmentUsingPUT | PUT /appointments/{appointmentId} | Replace an Appointment |
AppointmentApi | updatePropertiesOnAppointmentUsingPATCH | PATCH /appointments/{appointmentId} | Update an Appointment |
CampaignApi | addContactToCampaignSequenceUsingPOST | POST /campaigns/{campaignId}/sequences/{sequenceId}/contacts/{contactId} | Add to Campaign Sequence |
CampaignApi | addContactsToCampaignSequenceUsingPOST | POST /campaigns/{campaignId}/sequences/{sequenceId}/contacts | Add Multiple to Campaign Sequence |
CampaignApi | getCampaignUsingGET | GET /campaigns/{campaignId} | Retrieve a Campaign |
CampaignApi | listCampaignsUsingGET | GET /campaigns | List Campaigns |
CampaignApi | removeContactFromCampaignSequenceUsingDELETE | DELETE /campaigns/{campaignId}/sequences/{sequenceId}/contacts/{contactId} | Remove from Campaign Sequence |
CampaignApi | removeContactsFromCampaignSequenceUsingDELETE | DELETE /campaigns/{campaignId}/sequences/{sequenceId}/contacts | Remove Multiple from Campaign Sequence |
ContactApi | applyTagsToContactIdUsingPOST | POST /contacts/{contactId}/tags | Apply Tags |
ContactApi | createContactUsingPOST | POST /contacts | Create a Contact |
ContactApi | createEmailForContactUsingPOST | POST /contacts/{contactId}/emails | Create an Email Record |
ContactApi | createOrUpdateContactUsingPUT | PUT /contacts | Create or Update a Contact |
ContactApi | deleteContactUsingDELETE | DELETE /contacts/{contactId} | Delete a Contact |
ContactApi | getContactUsingGET | GET /contacts/{id} | Retrieve a Contact |
ContactApi | listAppliedTagsUsingGET | GET /contacts/{contactId}/tags | List Applied Tags |
ContactApi | listContactsUsingGET | GET /contacts | List Contacts |
ContactApi | listCustomFieldsUsingGET | GET /contactCustomFields | List Contact Custom Fields |
ContactApi | listEmailsForContactUsingGET | GET /contacts/{contactId}/emails | List Emails |
ContactApi | removeTagsFromContactUsingDELETE | DELETE /contacts/{contactId}/tags/{tagId} | Remove Applied Tag |
ContactApi | removeTagsFromContactUsingDELETE1 | DELETE /contacts/{contactId}/tags | Remove Applied Tags |
ContactApi | updatePropertiesOnContactUsingPATCH | PATCH /contacts/{contactId} | Update a Contact |
ECommerceApi | getOrderUsingGET | GET /orders/{orderId} | Retrieve an Order |
ECommerceApi | getTransactionUsingGET | GET /transactions/{transactionId} | Retrieve a Transaction |
ECommerceApi | listOrdersUsingGET | GET /orders | List Orders |
ECommerceApi | listTransactionsForOrderUsingGET | GET /orders/{orderId}/transactions | Retrieve Order Transactions |
ECommerceApi | listTransactionsUsingGET | GET /transactions | List Transactions |
EmailApi | createEmailUsingPOST | POST /emails | Create an Email Record |
EmailApi | createEmailsUsingPOST | POST /emails/sync | Create a set of Email Records |
EmailApi | deleteEmailUsingDELETE | DELETE /emails/{id} | Delete an Email Record |
EmailApi | deleteEmailsUsingPOST | POST /emails/unsync | Un-sync a batch of Email Records |
EmailApi | getEmailUsingGET | GET /emails/{id} | Retrieve an Email |
EmailApi | listEmailsUsingGET | GET /emails | List Emails |
EmailApi | updateEmailUsingPUT | PUT /emails/{id} | Update an Email Record |
FileApi | createFileUsingPOST | POST /files | Upload File |
FileApi | deleteFileUsingDELETE | DELETE /files/{fileId} | Delete File |
FileApi | getFileUsingGET | GET /files/{fileId} | Retrieve File |
FileApi | listFilesUsingGET | GET /files | List Files |
FileApi | updateFileUsingPUT | PUT /files/{fileId} | Replace File |
OpportunityApi | createOpportunityUsingPOST | POST /opportunities | Create an Opportunity |
OpportunityApi | getOpportunityUsingGET | GET /opportunities/{opportunityId} | Retrieve an Opportunity |
OpportunityApi | listOpportunitiesUsingGET | GET /opportunities | List Opportunities |
OpportunityApi | listOpportunityStagePipelinesUsingGET | GET /opportunity/stage_pipeline | List Opportunity Stage Pipeline |
OpportunityApi | updateOpportunityUsingPUT | PUT /opportunities | Replace an Opportunity |
OpportunityApi | updateProperitesOnOpportunityUsingPATCH | PATCH /opportunities/{opportunityId} | Update an Opportunity |
ProductApi | getProductUsingGET | GET /products/{productId} | Retrieve a Product |
ProductApi | listProductsFromSyncTokenUsingGET | GET /products/sync | Retrieve Synced Products |
ProductApi | listProductsUsingGET | GET /products/search | List Products |
RestHooksApi | createAHookSubscription | POST /hooks | Create a Hook Subscription |
RestHooksApi | deleteAHookSubscription | DELETE /hooks/{key} | Delete a Hook Subscription |
RestHooksApi | listHookEventTypes | GET /hooks/event_keys | List Hook Event Types |
RestHooksApi | listStoredHookSubscriptions | GET /hooks | List Stored Hook Subscriptions |
RestHooksApi | retrieveAHookSubscription | GET /hooks/{key} | Retrieve a Hook Subscription |
RestHooksApi | updateAHookSubscription | PUT /hooks/{key} | Update a Hook Subscription |
RestHooksApi | verifyAHookSubscription | POST /hooks/{key}/verify | Verify a Hook Subscription |
RestHooksApi | verifyAHookSubscriptionDelayed | POST /hooks/{key}/delayedVerify | Verify a Hook Subscription, Delayed |
TagsApi | applyTagToContactIdsUsingPOST | POST /tags/{tagId}/contacts | Apply Tag to Contacts |
TagsApi | createTagCategoryUsingPOST | POST /tags/categories | Create Tag Category |
TagsApi | createTagUsingPOST | POST /tags | Create Tag |
TagsApi | getTagUsingGET | GET /tags/{id} | Retrieve a Tag |
TagsApi | listContactsForTagIdUsingGET | GET /tags/{tagId}/contacts | List Tagged Contacts |
TagsApi | listTagsUsingGET | GET /tags | List Tags |
TagsApi | removeTagFromContactIdUsingDELETE | DELETE /tags/{tagId}/contacts/{contactId} | Remove Tag from Contact |
TagsApi | removeTagFromContactIdsUsingDELETE | DELETE /tags/{tagId}/contacts | Remove Tag from Contacts |
TaskApi | createTaskUsingPOST | POST /tasks | Create a Task |
TaskApi | deleteTaskUsingDELETE | DELETE /tasks/{taskId} | Delete a Task |
TaskApi | getTaskUsingGET | GET /tasks/{taskId} | Retrieve a Task |
TaskApi | listTasksForCurrentUserUsingGET | GET /tasks/search | Search Tasks |
TaskApi | listTasksUsingGET | GET /tasks | List Tasks |
TaskApi | updatePropertiesOnTaskUsingPATCH | PATCH /tasks/{taskId} | Update a Task |
TaskApi | updateTaskUsingPUT | PUT /tasks/{taskId} | Replace a Task |
UserInfoApi | getUserInfoUsingGET | GET /oauth/connect/userinfo | Retrieve User Info |
- InfusionsoftAccountProfile
- InfusionsoftAddress
- InfusionsoftAffiliateCommission
- InfusionsoftAffiliateCommissionList
- InfusionsoftAppointment
- InfusionsoftAppointmentList
- InfusionsoftBasicContact
- InfusionsoftCampaign
- InfusionsoftCampaignLandingPageNodeDTO
- InfusionsoftCampaignList
- InfusionsoftCampaignNodeDTO
- InfusionsoftCheckListItemDetails
- InfusionsoftCompany
- InfusionsoftContactList
- InfusionsoftContactTag
- InfusionsoftContactTagList
- InfusionsoftCustomFieldMetaData
- InfusionsoftCustomFieldOption
- InfusionsoftCustomFieldValue
- InfusionsoftEmailAddress
- InfusionsoftEmailSentCreate
- InfusionsoftEmailSentCreateList
- InfusionsoftEmailSentQueryResult
- InfusionsoftEmailSentQueryResultList
- InfusionsoftEmailSentQueryResultWithContent
- InfusionsoftEntrylongstring
- InfusionsoftError
- InfusionsoftFaxNumber
- InfusionsoftFileDescriptor
- InfusionsoftFileInformation
- InfusionsoftFileList
- InfusionsoftFileUpload
- InfusionsoftFullContact
- InfusionsoftGoal
- InfusionsoftHistoricalCounts
- InfusionsoftItem
- InfusionsoftOpportunity
- InfusionsoftOpportunityContact
- InfusionsoftOpportunityList
- InfusionsoftOrder
- InfusionsoftOrderContactDetails
- InfusionsoftOrderItem
- InfusionsoftOrderList
- InfusionsoftPhoneNumber
- InfusionsoftProduct
- InfusionsoftProductList
- InfusionsoftProductOption
- InfusionsoftProductOptionValue
- InfusionsoftProductStatus
- InfusionsoftProductStatusList
- InfusionsoftRelationship
- InfusionsoftRestHook
- InfusionsoftRestHookRequest
- InfusionsoftSalesPipeline
- InfusionsoftSequence
- InfusionsoftSequencePath
- InfusionsoftSetOfIds
- InfusionsoftShippingInformation
- InfusionsoftSimpleOpportunityStage
- InfusionsoftSimpleProduct
- InfusionsoftSimpleTag
- InfusionsoftSimpleUser
- InfusionsoftSocialAccount
- InfusionsoftStackTraceElement
- InfusionsoftStageDetails
- InfusionsoftSubscriptionPlan
- InfusionsoftTagCategory
- InfusionsoftTagCategoryReference
- InfusionsoftTagId
- InfusionsoftTagList
- InfusionsoftTagModel
- InfusionsoftTaggedContact
- InfusionsoftTaggedContactList
- InfusionsoftTask
- InfusionsoftTaskList
- InfusionsoftThrowable
- InfusionsoftTransaction
- InfusionsoftTransactionList
- InfusionsoftUpsertContact
- InfusionsoftUserInfoDTO
Authentication schemes defined for the API:
- Type: OAuth
- Flow: accessCode
- Authorization URL: https://accounts.infusiontest.com/app/oauth/authorize
- Scopes: N/A
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.