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": [
"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
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