Xrm.WebApi (Client API reference)

Applies to Dynamics 365 (online), version 9.0

Provides properties and methods to use Web API to create and manage records and execute Web API actions and functions in Customer Engagement.

Properties

Property Description
online Provides methods to use Web API to create and manage records and execute Web API actions and functions in Customer Engagement when connected to the Customer Engagement server (online mode).
offline Provides methods to create and manage records in the Dynamics 365 Customer Engagement mobile clients while working in the offline mode.

Methods

Method Description
createRecord Creates an entity record.
deleteRecord Deletes an entity record.
isAvailableOffline Returns a boolean value indicating whether an entity is offline enabled.
retrieveRecord Retrieves an entity record.
retrieveMultipleRecords Retrieves a collection of entity records.
execute Execute a single action, function, or CRUD operation.
executeMultiple Execute a collection of action, function, or CRUD operations.

Use the Dynamics 365 Customer Engagement Web API