Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

By Salesforce Id

 

ContactService contactService = new ContactService(salesforceSession);
 
//This is the case sensitive Id for a contact directly from the browsers address bar
string contactId = "00390000001TjMHAA0";
 
Contact contact = contactService.GetByEntityId(contactId);
Assert.IsNotNull(contact);
Assert.AreEqual(contactId, contact.Id);
  • No labels