My Oracle Support Banner

Convert Lead In Groovy Using REST API (Doc ID 2666273.1)

Last updated on MAY 07, 2020

Applies to:

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

Goal

How to convert a Lead via Groovy Script via REST API?

I tried using the below payload and Content-Type :application/vnd.oracle.adf.action+json

{
"name": "convertLeadToOpty",
"parameters": [
{
"leadId": 300100129374358
}
]
}

In Postman it works fine, however when calling the same in Groovy it gives 400 Bad Requests each time.
 

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
References


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