My Rest Process parameter expects a Novulo datatype, how do I pass that in the body?
For example:
By changing the parameter type to “Expression” you can find the correct data object via another parameter. You probably have to manually add a new parameter to the Rest Process.
For example:
Example expression: shoppingcarts:first({shoppingcarts,this,this.guid.equals(%cart_guid)})
Novulo will find the cart based on the GUID, which is passed in a new parameter called “cart_guid”.
By referencing it via “%cart_guid” it understands it’s another parameter.
Hi Yori,
For Novulo Types, the REST End point also accepts the ID as an INT. It then automatically does recordtype:load(param)
If you want any other parameter (like GUID), indeed this is why the Expression Parameter is introduced.
But your suggestionis perfect; in this case you change the Parameter type of the Process to Expression and manually add a new GET parameter %cart_guid