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
Interface for the Xrm.WebApi.offline API
See
External Link: Xrm.WebApi.offline (Client API reference)