Skip to product menu
Skip to main content

Number

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

Attribute NameDatatype Description
metamapNumber Meta (A)
valuemapThe details of the number value ex: 29

Number Meta (A)

Attribute NameDatatype Description
typeString'number'
valueString29

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;