Date
The value for this input datatype will be available in the session object in the following format:
Attribute Name | Datatype | Description |
Meta | map | Date Meta (A) |
Value | map | The details of the date ex: 2020-12-31 |
Attribute Name | Datatype | Description |
Type | String | 'date' |
value | String | '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;