My Oracle Support Banner

Leads REST API Is Not Working (Doc ID 2699030.1)

Last updated on OCTOBER 31, 2023

Applies to:

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

Goal

We are trying to use REST API Batch Processing for Lead object, but it's giving error as "Invalid operation BATCH for the specified resource."

Please help us how to fix this issue.

URL:  https://YOUR_POD.oraclecloud.com/crmRestApi/resources/latest/leads

Request Body:
-----------------
{
  "parts": [
  {
  "id": "part1",
  "path": "/latest/leads",
  "operation": "create",
  "payload": {
  "Name": "000000011- REST",
  "ProductInterest_c": "Business Checking"
  }
  },
  {
  "id": "part2",
  "path": "/latest/leads",
  "operation": "create",
  "payload": {
  "Name": "000000012 - REST",
  "ProductInterest_c": "Business Checking"
  }
  },
  {
  "id": "part3",
  "path": "/latest/leads",
  "operation": "create",
  "payload": {
  "Name": "000000013 - REST",
  "ProductInterest_c": "Business Checking"
  }
  }
  ]
}

Error:
-------
Invalid operation BATCH for the specified resource.
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.