Number
The value for this input datatype will be available in the session object in the following format:
Attribute Name | Datatype | Description |
meta | map | Number Meta (A) |
value | map | The details of the number value ex: 29 |
Attribute Name | Datatype | Description |
type | String | 'number' |
value | String | 29 |
Sample Code:
Format received in input "session" object:
Copied{
"meta":{
"type":"number",
"value":"29"
},
"value":29
}
Format to be returned in response object:
Copiedresponse=map();
response.put('number' , "29”);
return response;