Skip to content

mapp-digital/mapp-connect-client-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

mapp-connect-client-java

Mapp Connect Client Java

This SDK can be used by any application that wants to communicate with Mapp Connect. It wraps up JWT token generation part and all the HTTP communication details.

In order to use it, it's enough to include attached jar file as Java project dependency.

Example usage

Instantiate client and specify API URL, integration ID and API key

MappConnectClient mappConnectClient = new MappConnectClient("https://jamie.g.shortest-route.com/charon", "9c88b780-f470-4e64-a63b-a022f600859e", "WWbIbZmHxacRrmF4iQ1jHE3SdOZD7RUE");

Get list of prepared messages

Map<String, String> messages = mappConnectClient.getMessages();

Get list of groups

Map<String, String> groups = mappConnectClient.getGroups();

Send contact profile to be processed by Mapp Connect and saved by Engage

mappConnectClient.sendUser("{"email":"test@xx.xx"}");

Each operation can be triggered by sendXxxx method on the client, for now each of them expects the full JSON payload to be provided as an argument.

*Email

*Sms

*Push

*Transaction

*Automation

Check list of API's in right menu to check required fields for every event.

About

Mapp Connect Client Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published