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