# What is the syntax for a Novulo datatype in a Rest End point parameter?

**URL:** <https://community.novulo.com/t/what-is-the-syntax-for-a-novulo-datatype-in-a-rest-end-point-parameter/121>\
**Category:** \[Q&A\] Components, Datasets and Plug-ins\
**Tags:** rest\
**Created:** [April 24, 2024, 12:58pm UTC](https://community.novulo.com/t/what-is-the-syntax-for-a-novulo-datatype-in-a-rest-end-point-parameter/121 "2024-04-24T12:58:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yori](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/yori/32/12_2.png) [@Yori](https://community.novulo.com/u/Yori)\
**Post date:** [April 24, 2024, 12:58pm UTC](https://community.novulo.com/t/what-is-the-syntax-for-a-novulo-datatype-in-a-rest-end-point-parameter/121/1 "2024-04-24T12:58:36Z")

</div>

My Rest Process parameter expects a Novulo datatype, how do I pass that in the body?  
For example:  
 ![image](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/1X/775f2a617ef6500b36c04bad7ea7c0b5bc1f1e9b.png)

---

<div class="post-metadata">

**Author:** ![Yori](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/yori/32/12_2.png) [@Yori](https://community.novulo.com/u/Yori)\
**Post date:** [April 24, 2024, 1:02pm UTC](https://community.novulo.com/t/what-is-the-syntax-for-a-novulo-datatype-in-a-rest-end-point-parameter/121/2 "2024-04-24T13:02:53Z")

</div>

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:  
 ![image](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/1X/72d2a812f9ddb385a6a142326930d79130c5c690.png)  
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.

---

<div class="post-metadata">

**Author:** ![Joost](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/joost/32/87_2.png) [@Joost](https://community.novulo.com/u/Joost)\
**Post date:** [April 24, 2024, 1:45pm UTC](https://community.novulo.com/t/what-is-the-syntax-for-a-novulo-datatype-in-a-rest-end-point-parameter/121/3 "2024-04-24T13:45:49Z")

</div>

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
