cancel
Showing results for 
Search instead for 
Did you mean: 

How to test FunctionImport with Edm.DateTime parameter?

Former Member
0 Kudos

Hello.

i created and implemented a FunctionImport that has an import parameter of Type Edm.DateTime. How to test this FunctionImport using the Gateway Client Transaction?

i tried to pass the value using the following options:

1.) ...&KeyDate='2015-05-12T00:00:00'

2.) ...&KeyDate=\/Date(1431416788000)\/

3.) ...&KeyDate=datetime'2015-05-12T00:00:00'

4.) ...&KeyDate=/Date(1431416788000)/

5.) ...&KeyDate=\Date(1431416788000)

6.) ...&KeyDate=2015-05-12T00:00:00

but nothing worked.

GW client alway reports the following error:

Malformed URI literal syntax

how can i pass a date to the respective import parameter using gw client in a proper way??

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Check with this:

/<funtion import name>?KeyDate=datetime'2015-05-12T10:26:00'

Former Member
0 Kudos

thanks a lot, it worked 🙂

Answers (0)