String List
The value for this input datatype will be available in the session object in the following format:
Attribute Name | Datatype | Description |
meta | map | String List Meta (A) |
value | string | The String list has to be set here. Ex: "123", "Hello there!","How are you?" |
Attribute Name | Datatype | Description |
type | String | Value should be 'stringlist' |
value | String | 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;