cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to pass mapper column in Rest API filter condition

pranil2k2
Contributor

Hi,

I have a requiremnet, where i need to pass the mapper Date column (which i read from oracle table) in REST API filter condition. i tried with below syntax, but it is giving error. please someone can advice here.

Created gt datetimeโ€™" + $CREATED + "โ€™

if i hardoce the date value it is working โ€” Created gt datetimeโ€™2020-04-02T11:00:00โ€™

image

8 REPLIES 8

dmiller
Admin Admin
Admin

since you are using an expression, try enabling the = button for that field and quoting the strings.


Diane Miller
Community Manager

pranil2k2
Contributor

Hi Miller,

I enabled โ€˜=โ€™ button and used below expression, but it is throwing error.

Created gt datetimeโ€™" + $CREATED + "โ€™

image

pranil2k2
Contributor

I tried with below syntax, still it is giving same error

image

It looks like your quotations are off. Are you trying to concatenate the string โ€œcreated gt datetimeโ€ and the date stored in $CREATED ?

If so try this: โ€œcreated gt datetmeโ€ + $CREATED

Notice the variable $CREATED is not in quotes and the static string portion is.