As regards Javascript actions to extend CRM application client-side, the following definition of the retrieveMultipleRecords mentions a parameter of type Client API reference, which is passed to the method:
retrieveMultipleRecords (Client API reference)
Retrieves a collection of entity records
Xrm.WebApi.retrieveMultipleRecords(entityLogicalName, options, maxPageSize).then(successCallback, errorCallback);
I'm very new to web Api and CRM so I'd like to have a clear understanding of how things work together.
This is what I figured out by reading the definition above, please correct me if I'm wrong.
I assume that Web Api is a Rest service/library/dll which is exposed externally and can be called (through url, for example).
I assume that in this scenario the REST service is inside CRM, it's Dynamic itself, is it correct?
I also assume that a "client" is someone who calls a service to access server data, so that the CRM is the server and the service, and Javascript is the client.
Given these assumptions, I figure out that "Client" in the definition above is referred to my JS .dll, is it correct?