Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
i have following problem. I want to build a JSON Request and send it to a REST Endpoint with the tREST component, so far so good.
This JSON contains an Array. Every value in this Array have to be within doublequotes (example: ["value","value","value"])
But tREST does this: ["value\",\"value\",\"value"\]
This is an Example of the Datainput (first column is the object ID, second are the values comma seperated) :
This Input Data is used to build the JSON Request:
And tREST build this:
Payload: {"guid":"93E4E59D-B679-46B3-8AD4-7D60DFD1D1B1","jobId":"69e1198d-ae89-4e1a-8894-9a194ed71a85","jobReplyUrl":"https://replyURL:9001/services/esb/eventlogger/api/v0.1","forwardMailObjects":
["\"33FED240-B12F-48F7-B7F7-53A31061431F\""]}
Any ideas what could be wrong?
thanks!
Lars
@Lars Hähnel , tRestclient requires two fields as input body and string as you see the input schema of tRestclient , you need provide these two fields with same data types and you can pass any one of the value and other filed would be nothing. it works this way. if you have passed proper payload ,which you no need to specify \ .
Thanks,
Manohar