XRM-OSS / Xrm-WebApi-Client

A promise-based JavaScript library for the Microsoft Dynamics CRM WebApi - TypeScript type definitions available
https://xrm-oss.github.io/Xrm-WebApi-Client/
MIT License
100 stars 28 forks source link

Some requests fail stating that parameters are missing #2

Closed DigitalFlow closed 7 years ago

DigitalFlow commented 7 years ago

When executing requests, you might get an error, that parameters are missing, although you passed all. This is an issue that occurs, when the function or action is not called by its full name, e.g. not like Microsoft.Dynamics.CRM.SendMail but only SendMail. In addition to that, .with does not allow to override name or method, basically everything that is preset. During declaration of each request, every property needs the writable: true tag in addition to the value tag.