Monday, January 21, 2013

IOrganizationService Methods in CRM 2011

NameDescription
public methodAssociateCreates a link between records.
public methodCreateCreates a record.
public methodDeleteDeletes a record.
public methodDisassociateDeletes a link between records.
public methodExecuteExecutes a message in the form of a request, and returns a response.
public methodRetrieveRetrieves a record.
public methodRetrieveMultipleRetrieves a collection of records.
public methodUpdateUpdates an existing record.

The IOrganizationService Web service provides a set of methods used to perform the most common operations on system and custom entities and on the metadata for your organization. These operations can also be performed by using the IOrganizationService.Execute method and the corresponding message.

Create

Use the IOrganizationService.Create method to create an instance (record) of any entity that supports the Create message, including custom entities.

Retrieve

Use the IOrganizationService.Retrieve method to retrieve an instance (record) of an entity..

RetrieveMultiple

Use the IOrganizationService.RetrieveMultiple method to retrieve a collection records. The query can be specified using a query expression or Fetch XML query. If the query includes an aggregate function, xxx.

Update

Use the IOrganizationService.Update method to update an existing record.

Delete

Use the IOrganizationService.Delete method to delete an existing record.

Associate

Use the IOrganizationService.Associate method to create a link between two records that participate in a relationship.

Disassociate

Use the IOrganizationService.Disassociate method to delete the link between two records.

Execute

Use the IOrganizationService.Execute method to execute a message. This includes common processing like create and delete of data records and metadata, or it can be specialized processing such as import or detect duplicates.

No comments:

Post a Comment