Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

3cw/java-api

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agile CRM Java API

Agile CRM is a new breed CRM. You can sign up here - http://agilecrm.com

Requirements

Java 1.5 and later.

Installation

You can manually download the following JARs:

http://www.java2s.com/Code/Jar/j/Downloadjerseyclient115jar.htm
http://www.java2s.com/Code/Jar/j/Downloadjsonjar.htm
http://www.java2s.com/Code/Jar/j/Downloadjacksoncoreasl192jar.htm
  • jersey-client-1.15.jar
  • jersey-core-1.15.jar
  • jersey-json-1.15.jar
  • jackson-core-asl-1.9.2.jar
  • jackson-mapper-asl-1.9.2.jar
  • json.jar

Usage

TestAgile.java

import java.util.List;

import com.agilecrm.api.APIManager;
import com.agilecrm.api.ContactAPI;
import com.agilecrm.stubs.Contact;

public class TestAgile
{
		public static void main(String[] args)
		{
		try
		{
    			String baseUrl = "https://<Your Domain>.agilecrm.com/dev";
    			String userName = "AgileCRM username";
    			String apiKey = "AgileCRM apikey";

    			// Create a connection to Agile CRM
   			APIManager apiManager = new APIManager(baseUrl, userName, apiKey);

    			// Get the Contact API with configured resource
   			ContactAPI contactApi = apiManager.getContactAPI();

	    		// --------------------- Get contacts -----------------------------
    			List<Contact> contacts = contactApi.getContacts();
    			System.out.println("All contacts.. " + contacts);
		}
		catch (Exception e)
		{
   			System.out.println("Exception message.. " + e.getMessage());
    			e.printStackTrace();
		}
		}
}

See TestContact.java for more examples.

About

Java API Client Connector for Agile

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.