-
-
Notifications
You must be signed in to change notification settings - Fork 63
Interface.Config
dynamics-web-api / Config
optionalbackgroundOperationCallbackUrl:string
A default callback URL when the background operation is completed. Dataverse uses this URL to send a POST request. You can also set a callback URL per request.
optionaldataApi:ApiConfig<any>
Configuration object for Dataverse Web API (with path "data").
optionalheaders:HeaderCollection
Default headers to supply with each request.
optionalimpersonate:null|string
Impersonates a user based on their systemuserid by adding "MSCRMCallerID" header. A String representing the GUID value for the Dynamics 365 systemuserid.
optionalimpersonateAAD:null|string
Impersonates a user based on their Azure Active Directory (AAD) object id by passing that value along with the header "CallerObjectId". A String should represent a GUID value.
optionalincludeAnnotations:null|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.
optionalmaxPageSize:null|number
Sets the odata.maxpagesize preference value to request the number of entities returned in the response.
optionalonTokenRefresh:null| () =>Promise<null|string|AccessToken>
A function that is called when a security token needs to be refreshed.
optionalproxy:null|ProxyConfig
Proxy configuration object.
optionalreturnRepresentation:null|boolean
Sets Prefer header request with value "return=representation".Use this property to return just created or updated entity in a single request.
optionalsearchApi:ApiConfig<SearchApiOptions>
Configuration object for Dataverse Search API (with path "search").
optionalserverUrl:null|string
The url to Dataverse API server, for example: https://contoso.api.crm.dynamics.com/. It is required when used in Node.js application.
optionaltimeout:null|number
Sets a number of milliseconds before a request times out.
optionaluseEntityNames:null|boolean
Indicates whether to use Entity Logical Names instead of Collection Logical Names.