JSON format for REST

0
Hello, Is it possible to use this format in a JSON for a REST POST call. We seem to be having issues with the POST and when we run the microflow it passes the error handler. Anyone have any examples where they've used this kind of format? { "ClientID":"267265620", "GoalType":"Holiday", "Source":"ABCDE",     "ProductsList": [         {              "ClientID": "267265620",                                   "Bank_Name": "Product3"      }       ] }
asked
4 answers
1

Thuy

That structure is very straightforward.  I have used structures like that (and much more complex than that) successfully in Mendix.  Is the REST service public?  If so, can you share the endpoint URL?  Also, have you run this with debug and examined the detailed response that comes back from the REST service?

Mike

answered
0

Hi Mike,

Thanks for your message. Thuy and I are working on this issue together.

Please find below the error message which we are getting from the Debugger.

Under HttpResponse, the content appears to be "Empty", making it difficult for us to locate the issue. 

Please let us know your thought?

Many thanks,

answered
0

Also just add to above, the Response from this POST Call is also coming back as empty

answered
0

Is that the request structure or the response structure?

Are you using export mapping for the body and import mapping on the response?

answered