A Dynamics CRM Web API TypeScript module for use in Web Resources.
All methods return a generic Promise. The module depends on es6-promise to add Promise support for Internet Explorer but any promise polyfill may be used when deploying to CRM.
Requires Dynamics CRM 2016 Online/On-Prem or later
npm install --save-dev xrm-webapi
Import the module into your TypeScript files
import {WebApi} from "../node_modules/xrm-webapi/src/xrm-webapi";
See xrm-webapi-test.ts for samples