You need to sign in to do that
Don't have an account?

inserting multiple records using post method in workbench
By providing following uri and by using following Request Body, we can insert a single in sObject
uri: /services/data/v36.0/sobjects/sObject
Request Body : {
"field1" :"value1",
"field2" :"value2"
}
But, how to insert multiple records in an object using post method in workbench?
Could any one please suggest me.
Request body :-
Please let us know if this will help you
Thanks
Amit Chaudhary
All Answers
1) http://amitsalesforce.blogspot.in/2016/04/rest-api-in-salesforce-execute-rest-api.html
Create Multiple Records
1) https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_composite_sobject_tree_flat.htm
Example request body newrecords.json file for creating four new accounts
Let us know if this will help you
Hi Amit Chaudhary,
Already I tried this one. But showing error as shown in image
Request body :-
Please let us know if this will help you
Thanks
Amit Chaudhary
Hi Amit Chaudhary,
thanks for your help.
Hi Amit Chaudhary,
Can you clarify few more
can we get bulk records by using get method with out using rest sourse class?
can we update bulk records by using patch or put method with out using rest sourse class?
if it is possible please let me know with URI and Request body?