Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Voice for Dynamics exposes a JavaScript API which can be called by any custom or out-of-the-box JS plugin to carry out certain tasks.

All functions within the API are asynchronous and the proper way to call is to use await statement

Enreach.API.executeQuery

Parameters:

...

query (string): path within Enreach API

...

or properly handle the Promise object returned.

Function name

Descrtiption

Enreach.API.executeQuery

Sends a request to Enreach

...

If postData parameter is NULL then a GET request is sent, whereas any object passed here means a POST request. The object passed here is serialized as JSON in the request payload.

Detailed Enreach API documentation can be found here: https://doc.enreachvoice.com/beneapi

...

Parameters:

...

Sets the A-number (the phone number the call appears to come from) before making an outbound call

...

Detailed documentation: https://doc.enreachvoice.com/beneapi#user-features

...

.

Enreach.API.Xrm.createRecord

Creates an entity in Dynamics with a retry logic

Enreach.API.Xrm.updateRecord

Updates an entity in Dynamics with a retry logic

Enreach.API.Xrm.retrieveRecord

Retrieves an entity from Dynamics with a retry logic

Enreach.API.Xrm.execute

Executes a request (e.g. an action) against Dynamics API.