Need a help in create method
Content
hi ,
am new to service cloud need help in below code bock getting error while creating a contact using addin Create method ,please help me to resolve the issue .
Error:Error CS0029 Cannot implicitly convert type 'ConsoleApp1.ServiceCloudReference.APIAccessResponseHeaderType' to 'ConsoleApp1.ServiceCloudReference.RNObject[]' ConsoleApp1
Version
aug 2017Code Snippet
try { RNObject[] outresults; APIAccessRequestHeader header = new APIAccessRequestHeader(); RNObject[] createResults = _service.Create(clientInfoHeader, header , new RNObject[] {newContact } , createProcessingOptions,out outresults); } catch(Exception e) { Console.WriteLine("{0} Exception caught.", e); }
Tagged:
0