简体   繁体   中英

Creating a lead programmatically in CRM Online

I have customized the lead entity in CRM for our business, is there a mechanism in CRM Online via the webservices that I can invoke to insert new records as a Lead in CRM from our local database? I cant find the correct details in Dynamics CRM Online's API. Please help! Thanks. This is in C#.

Use the Simplified Connection

MS Dynamics CRM online 2011 - Authentication issues

and after create the records. The metadata of the Lead entity is here:

http://msdn.microsoft.com/en-us/library/gg334250(v=crm.5).aspx

Create your lead and define their attributes and save it

Entity lead = new Entity("lead");

// definition of lead attributes goes here
// lead.Attributes["xxxx"] = yyyy;

service.Create(lead);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM