An open API service indexing awesome lists of open source software.

https://github.com/mapp-digital/mapp-connect-client-java

Mapp Connect Client Java
https://github.com/mapp-digital/mapp-connect-client-java

Last synced: 3 months ago
JSON representation

Mapp Connect Client Java

Awesome Lists containing this project

README

          

# 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 messages = mappConnectClient.getMessages();

Get list of groups

Map 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.