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
nishad basha 7nishad basha 7 

how to create two child objects using rest resource with json format in salesforce

@Karanraj@Karanraj
Unfortunately you can't create an objects (metadata (https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/)) through REST API. If you are looking for solution to create  multiple records, then check this link for sample json format -https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_composite_sobject_tree_flat.htm