Skip to main content

Email

The value for this input datatype will be available in the session object in the following format:

Attribute NameDatatype Description
MetamapEmail Meta (A)
ValuemapThe value of the email address ex: danny@zylker.com

Email Meta (A)

Attribute NameDatatype Description
TypeString'email'
valueString'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;