String List

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

Attribute NameDatatype Description
metamapString List Meta (A)
valuestring

The String list has to be set here.

Ex: "123", "Hello there!","How are you?"

String List Meta (A)

Attribute NameDatatype Description
typeStringValue should be 'stringlist'
valueString

The String list has to be set here.

Ex: "123", "Hello there!","How are you?"

Sample Code:

Copied{
      "value":[
             "123",
             "Hello there!",
            "How are you?"
       ],
       "meta":{
            "type":"stringlist",
             "value":[
                   "123",
                   "Hello there!",
                  "How are you?"
            ]
      }
}

Format to be returned in response object:

Copiedresponse=map();
response.put('stringlist' , "123", "Hello there!","How are you?");
return response;