Try to send a string, I mean set it as below for POST or PUT request
“{”“FaultSummary”“: {”“interfaceName”“: “””“,”“errorTimestamp”“: ”“}}” …Unless there another atribute remove commo (,) at last…Send as Json
Can you suggest, how can I dynamically get the process name, current timestamp and the error which occurred in a JSON payload which I can finally send it to a rest service as body
{
"FaultSummary": {
"interfaceName": "<UI path process name>",
"errorTimestamp": "<Current datetime>",
"error": "<Error which occurred in the process>"
}
}
Hello Yatanveer,
Try to create a JSON like in this movie:
9:45 Create a simple JSON 11:05 Create a JSON with an Object inside 12:17 Create a JSON with Array inside 14:05 Create a JSON with a List of Strings inside