Provides methods to create and manage records in the Dynamics 365 Customer Engagement mobile clients while working in the offline mode.
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).
Creates an entity record
Logical name of the entity you want to create. For example: "account".
A JSON object defining the attributes and values for the new entity record.
On success, returns a promise object containing the attributes specified earlier in the description of the successCallback parameter.
Deletes an entity record.
The entity logical name of the record you want to delete. For example: "account".
GUID of the entity record you want to delete.
On success, returns a promise object containing the attributes specified earlier in the description of the successCallback parameter.
Retrieves a collection of entity records.
The entity logical name of the records you want to retrieve. For example: "account".
Optional
options: string(Optional) OData system query options or FetchXML query to retrieve your data.
Optional
maxPageSize: number(Optional) Specify a positive number that indicates the number of entity records to be returned per page.
On success, returns a promise object containing the attributes specified earlier in the description of the successCallback parameter.
Retrieves an entity record.
The entity logical name of the record you want to retrieve. For example: "account".
GUID of the entity record you want to retrieve.
Optional
options: string(Optional) OData system query options, $select and $expand, to retrieve your data.
On success, returns a promise containing a JSON object with the retrieved attributes and their values.
options example:
options: $select=name&$expand=primarycontactid($select=contactid,fullname)
Updates an entity record.
The entity logical name of the record you want to update. For example: "account".
GUID of the entity record you want to update.
On success, returns a promise object containing the attributes specified earlier in the description of the successCallback parameter.
Generated using TypeDoc
Provides properties and methods to use Web API to create and manage records and execute Web API actions and functions in Customer Engagement.
See
External Link: Xrm.WebApi (Client API reference)