Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

Bulk Delete Using REST (3 Comments)

$
0
0

Topic by Umadevi Guduru

Hi,

 

Did any try bulk delete using REST for Custom Objects.

 

My query does not work

https://your_site_interface/services/rest/connect/version/queryResults/?query=Delete from Inte.ODITable limit 10;

 

I checked the syntax from ROQL API and its exactly the same. They did mention that bulk delete can be done on Custom Objects.

 

The select statement works : ?query=select * from Inte.ODITable works.

Error Message I got is

 

{
   "type": "https://your_site_interface/services/rest/connect/exceptions/OSC-CREST-00019",
   "title": "Invalid query parameter value",
   "status": 400,
   "detail": "This query is not supported: No such table: ODITable",
   "instance": "https://your_site_interface/services/rest/connect/v1.4/queryResults?query=Delete%20from%20Inte.ODITable%20%20limit%2010",
   "o:errorCode": "OSC-CREST-00019"
}

any idea?

 

Uma

 


Viewing all articles
Browse latest Browse all 2504

Trending Articles