How do I format a REST API URL to perform a GET with the LastUpdateDate attribute? (Doc ID 2188364.1)

Last updated on JUNE 22, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.10.0.0 and later
Information in this document applies to any platform.

Goal

Trying to get Account object from Sale Cloud.
After reading the REST API book guideline the following was tried:
https://<pod>.crm.ap2.oraclecloud.com/crmCommonApi/resources/latest/accounts?q=LastUpdateDate>2016-02-22T00:00:00
It worked properly with some json items returned
But trying the request  it returns a NullPointerException:
https://<pod>.crm.ap2.oraclecloud.com/crmCommonApi/resources/latest/accounts?q=LastUpdateDate<2016-02-23T00:00:00 and > 2016-02-22T00:00:00


 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms