I would like to use API DataPage to insert data into Origam table with PUT.
How do I do that? How do I pass original JSON body from request into Origam XML transformation?
Thank you for quick answer.
I would like to use API DataPage to insert data into Origam table with PUT.
How do I do that? How do I pass original JSON body from request into Origam XML transformation?
Thank you for quick answer.
You can use JSON transparently the same way as XML. The only difference is the MimeType which you need to set to application/json
. Both output and input will then produced/consumed as JSON.
But you are mentioning an XML transformation – do you mean XSLT? That is not available in Data Page API, only in Sequential Workflow API. There you can either get it as XML (if the mapped context store is of type Xml
) or original JSON string (then map it to a context store of type String
).
Yes I meant XSLT and OK I understand.