Skip to product menu
Skip to main content

Date

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

Attribute NameDatatype Description
MetamapDate Meta (A)
ValuemapThe details of the date ex: 2020-12-31

Date Meta (A)

Attribute NameDatatype Description
TypeString'date'
valueString'2020-12-31'

Sample Code:

Format received in input "session" object:

Copied{
      "meta":{
         "type":"date",
         "value":"2020-12-31"
      },
      "value":"2020-12-31"
   }

Format to be returned in response object:

Copiedresponse=map();
response.put(‘date’ , "2020-12-31");
return response;