-
-
Notifications
You must be signed in to change notification settings - Fork 60
callbacks DynamicsWebApi.CreateRequest
DynamicsWebApi.CreateRequest
Name | Type |
---|---|
T |
any |
-
↳
CreateRequest
- async
- bypassCustomPluginExecution
- collection
- contentId
- data
- duplicateDetection
- entity
- expand
- id
- impersonate
- impersonateAAD
- includeAnnotations
- key
- navigationProperty
- navigationPropertyKey
- noCache
- partitionId
- returnRepresentation
- select
- skipNameCheck
- timeout
- token
• Optional
async: boolean
XHR requests only! Indicates whether the requests should be made synchronously or asynchronously.Default value is 'true'(asynchronously).
• Optional
bypassCustomPluginExecution: boolean
v.1.7.5+ If set to true, the request bypasses custom business logic, all synchronous plug-ins and real-time workflows are disabled. Check for special exceptions in Microsft Docs.
• Optional
collection: string
The name of the Entity Collection or Entity Logical name.
• Optional
contentId: string
BATCH REQUESTS ONLY! Sets Content-ID header or references request in a Change Set.
• Optional
data: T
A JavaScript object with properties corresponding to the logical name of entity attributes(exceptions are lookups and single-valued navigation properties).
• Optional
duplicateDetection: boolean
v.1.3.4+ Web API v9+ only! Boolean that enables duplicate detection.
• Optional
entity: T
Deprecated
use "data" instead
• Optional
expand: Expand
[]
An array of Expand Objects(described below the table) representing the $expand OData System Query Option value to control which related records are also returned.
• Optional
id: string
Deprecated
Use "key" instead. A String representing the Primary Key(GUID) of the record.
• Optional
impersonate: string
Impersonates the user.A String representing the GUID value for the Dynamics 365 system user id.
• Optional
impersonateAAD: string
Impersonates the user.A String representing the GUID value for the Azure active directory object id.
• 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.
• Optional
key: string
A String representing collection record's Primary Key (GUID) or Alternate Key(s).
• Optional
navigationProperty: string
A String representing the name of a single - valued navigation property.Useful when needed to retrieve information about a related record in a single request.
• Optional
navigationPropertyKey: string
v.1.4.3 + A String representing navigation property's Primary Key (GUID) or Alternate Key(s). (For example, to retrieve Attribute Metadata).
• Optional
noCache: boolean
If set to 'true', DynamicsWebApi adds a request header 'Cache-Control: no-cache'.Default value is 'false'.
• Optional
partitionId: string
v.1.7.7+ A unique partition key value of a logical partition for non-relational custom entity data stored in NoSql tables of Azure heterogenous storage.
• 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.
• Optional
select: string
[]
An Array(of Strings) representing the $select OData System Query Option to control which attributes will be returned.
• Optional
skipNameCheck: boolean
Skips the collection name check in DynamicsWebApi.
• Optional
timeout: number
Sets a number of milliseconds before a request times out.
• Optional
token: string
Authorization Token. If set, onTokenRefresh will not be called.