Opportunity objects not specified

Ashwini_Hejmady
Level 1

Opportunity objects not specified

Hi ,

I am trying to create an Opportunity via Advanced Rest API(Chrome). It gives me the success 200 OK message so I know the end points etc are good. But I am getting the following response.

{

"requestId": "130b1#16206ed3ab0"

"success": false

"errors":

  {
"code": "1003"

"message": "Opportunity objects not specified"

}

}

What other opportunity objects have to be specified here.

This is my request:

I added a json body with the following information (per the Marketo Example) for Opportunity.

{

   "action":"createOrUpdate",

   "dedupeBy":"dedupeFields",

   "input":[

      {

         "externalOpportunityId":"Test01",

         "name":"xyz",

         "description":"MarchOffers",

         "source":"Email"

       }

   ]

  }

Thanks

Sudha

s.pai@ieee.org

1 REPLY 1
Ashwini_Hejmady
Level 1

Re: Opportunity objects not specified

You can close the same. I was able to add an opportunity. Changed the source to leadSource after doing a describe and it added the same.

Thanks

Sudha