I have simple payload as :
{
“caseID”:“12”,
“exceptionAmount”:“23”,
“type”:“Market”
}
I want to start the process with the above payload using RestTemplate.
But I am always getting 400 Bad requests.
It is working if I update my JSON as :
{
“caseID”:{“value”:“12”},
“exceptionAmount”:{“value”:“23”},
“type”:{“value”:“Market”}
}