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
User SFDCUser SFDC 

Webservice Method List<Sobject> as parameter

I am having a requirement where i can get multiple records(Not for single object... Assume getting multiple records for both Account and contact)

Can any one help on how to write a webservice method to accept list<sobject> in a global class and to insert data in salsforce.

Thanks
AshlekhAshlekh
Hi,,

I think this link will help you 
https://developer.salesforce.com/page/Apex_Web_Services_and_Callouts
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_web_services_methods_considerations.htm