Skip to product menu
Skip to main content

Number List

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

Attribute NameDatatype Description
metamapNumber List Meta (A)
valuestring

The number list has to be set here.

Ex: "123", "123.123","123456789000"

Number List Meta (A)

Attribute NameDatatype Description
typeStringValue should be 'numberlist'
valueString

The number list has to be set here.

Ex: "123", "123.123","123456789000"

Note: The maximum number of values passed in the list is 30.

Sample Code:

Copied{
      "value":[
             "123",
             "123.123",
            "123456789000"
         ],
      "meta":{
             "type":"numberlist",
             "value":[
                  "123",
                  "123.123",
                  "123456789000"
                  ]
            }
}

Format to be returned in response object:

Copiedresponse=map();
response.put('numberlist' , "123", "123.123","123456789000");
return response;