Xrm.WebApi (Client API reference)

Provides properties and methods to use Web API to create and manage records and execute Web API actions and functions in model-driven apps.

Properties

Property Description
online Provides methods to use Web API to create and manage records and execute Web API actions and functions in model-driven apps when connected to the model-driven apps server (online mode).
offline Provides methods to create and manage records in the model-driven apps mobile clients while working in the offline mode.

Methods

Method Description
createRecord Creates an entity record.
deleteRecord Deletes an entity record.
retrieveRecord Retrieves an entity record.
retrieveMultipleRecords Retrieves a collection of entity records.
updateRecord Updates an entity record.
isAvailableOffline Returns a boolean value indicating whether an entity is present in user’s profile and is currently available for use in offline mode.
execute Execute a single action, function, or CRUD operation.
executeMultiple Execute a collection of action, function, or CRUD operations.

Use the Common Data Service Web API

Client API Xrm object