The value for this input datatype will be available in the session object in the following format:
Attribute Name | Datatype | Description |
Meta | map | Email Meta (A) |
Value | map | The value of the email address ex: danny@zylker.com |
Attribute Name | Datatype | Description |
Type | String | 'email' |
value | String | 'danny@zylker.com' |
Sample Code:
Format received in input "session" object:
Copied{
"meta":{
"type":"email",
"value":"danny@zylker.com"
},
"value":"danny@zylker.com"
}
Format to be returned in response object
Copiedresponse=map();
response.put('email' , “danny@zylker.com”);
return response;