Skip to Content
0
Aug 03, 2021 at 07:31 AM

How to pass Date filter in any C4C Odata API to fetch Data from C4C

2220 Views Last edit Aug 03, 2021 at 10:55 AM 3 rev

Dear Team,

I need to fetch data based on creation on date of Account from Corporate Account collection. Please find below my trial which is not working . Could you please help me how to pass date format in postman get method call as a filter.

https://myXXXXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/CorporateAccountCollection?$filter=CreationOn eq '2021-07-16T14:14:32.3678900Z'&$format=json

Getting error- value": "Invalid parametertype used at function 'eq'"

Same error for GT- "value": "Invalid parametertype used at function 'gt'"

Thanks and Regards,

MD.