function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Himanshu GhateHimanshu Ghate 

how to write Closedate in workbench(Post the data into salesforce)

Best Answer chosen by Himanshu Ghate
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

You can you the format as below.
 
{
  "Name": "Test1",
  "CloseDate": "2018-08-01",
  "StageName": "New",
  "Probability": "10",
  "Amount": "2000"
  }

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
HI Himanshu,

Are you trying to insert opporunity data into salesforce using POST method in workbench?

Thanks,
 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

You can you the format as below.
 
{
  "Name": "Test1",
  "CloseDate": "2018-08-01",
  "StageName": "New",
  "Probability": "10",
  "Amount": "2000"
  }

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
This was selected as the best answer
Himanshu GhateHimanshu Ghate
thanks, It works.
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Himanshu,

Thanks for confirming.