Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mappconnect authored Oct 5, 2021
1 parent 7f2705b commit f254c1e
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var mcc = new lib.MappConnectClient('https://charon-test.shortest-route.com', 'f



Get list of prepared messages
## Get list of prepared messages

let getMessagesCallback = function (data) {
console.log(data);
Expand All @@ -22,7 +22,7 @@ mcc.getMessages(getMessagesCallback);



Get list of groups
## Get list of groups

let getGroupsCallback = function (data) {
console.log(data);
Expand All @@ -31,9 +31,17 @@ mcc.getGroups(getGroupsCallback);



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

mcc.sendUser("{\"email\":\"[email protected]\"}");


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.

0 comments on commit f254c1e

Please sign in to comment.