Email relation data

Purpose

These commands are used to perform actions related to email relation data. 

Request URL 

Create Relation data

Used to store app data associated with a specific email. 

AppSDK.dispatch("associateApp", { msgId: "1612242414680000043", }).then(function(mailObj){ });
*JSON Object

Obtain Relation data

Used to obtain app data associated with a specific email. 

AppSDK.dispatch("integData", { msgId: "1612242414680000043", mapData: {a: "1"} }).then(function(mailObj){ });
​*JSON Object

 

Sample Request

Create Relation data

CopiedAppSDK.dispatch("associateApp", { msgId: "900034", }).then(function(mailObj){ });

Obtain Relation data

CopiedAppSDK.dispatch("integData", { msgId: "1612242414680000043", mapData: {a: "1"} }).then(function(mailObj){ });

Sample Response

Obtain Relation data

Copied{
"id": "900034", 
"name": "Testing", 
}