Skip to content

callbacks DynamicsWebApi.Config

Aleksandr Rogov edited this page Jul 15, 2023 · 1 revision

Interface: Config

DynamicsWebApi.Config

Table of contents

Properties

Properties

dataApi

Optional dataApi: ApiConfig

Configuration object for Dataverse Web API. The name is based on the url path "data".


impersonate

Optional impersonate: string

A String representing a GUID value for the Dynamics 365 system user id


impersonateAAD

Optional impersonateAAD: string

Impersonates the user.A String representing the GUID value for the Azure active directory object id.


includeAnnotations

Optional includeAnnotations: string

Sets Prefer header with value "odata.include-annotations=" and the specified annotation.Annotations provide additional information about lookups, options sets and other complex attribute types.


maxPageSize

Optional maxPageSize: string

Sets the odata.maxpagesize preference value to request the number of entities returned in the response.


onTokenRefresh

Optional onTokenRefresh: (callback: OnTokenAcquiredCallback) => void

Type declaration

▸ (callback): void

A function that is called when a security token needs to be refreshed.

Parameters
Name Type
callback OnTokenAcquiredCallback
Returns

void


proxy

Optional proxy: ProxyConfig

Proxy configuration


returnRepresentation

Optional returnRepresentation: boolean

Sets Prefer header request with value "return=representation".Use this property to return just created or updated entity in a single request.


serverUrl

Optional serverUrl: string

The url to Dataverse API server, for example: https://contoso.api.crm.dynamics.com/. It is required when used in Node.js application.


timeout

Optional timeout: number

Sets a number of milliseconds before a request times out


useEntityNames

Optional useEntityNames: boolean

Indicates whether to use Entity Logical Names instead of Collection Logical Names.


webApiUrl

Optional webApiUrl: string

Deprecated

use serverUrl together with dataApi (if required) instead


webApiVersion

Optional webApiVersion: string

Deprecated

use dataApi.version instead

dynamics-web-api-wiki

Namespaces

Clone this wiki locally