Xrm.WebApi.retrieveRecord(entityLogicalName, id, options).then(successCallback, errorCallback); Xrm.WebApi.retrieveMultipleRecords(entityLogicalName, options, maxPageSize).then(successCallback, errorCallback);