Skip to content

UploadRequest

Aleksandr Rogov edited this page Jul 15, 2023 · 3 revisions

Interface: UploadRequest

Hierarchy

Table of contents

Properties

Properties

async

Optional async: boolean

XHR requests only! Indicates whether the requests should be made synchronously or asynchronously.Default value is 'true'(asynchronously).

Inherited from

CRUDRequest.async


collection

collection: string

A name of the Entity Collection or Entity Logical name.

Inherited from

CRUDRequest.collection


data

data: Uint8Array | Buffer

Binary Buffer


fieldName

fieldName: string

File Field Name


fileName

fileName: string

Name of the file


impersonate

Optional impersonate: string

Impersonates a user based on their systemuserid by adding "MSCRMCallerID" header. A String representing the GUID value for the Dynamics 365 systemuserid.

Inherited from

CRUDRequest.impersonate


impersonateAAD

Optional impersonateAAD: 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.

Inherited from

CRUDRequest.impersonateAAD


inChangeSet

Optional inChangeSet: boolean

Indicates if an operation must be included in a Change Set or not. Works in Batch Operations only. By default, it's "true", except for GET operations - they are not allowed in Change Sets.

Inherited from

CRUDRequest.inChangeSet


key

Optional key: string

A String representing collection record's Primary Key (GUID) or Alternate Key(s).

Inherited from

CRUDRequest.key


noCache

Optional noCache: boolean

If set to 'true', DynamicsWebApi adds a request header 'Cache-Control: no-cache'.Default value is 'false'.

Inherited from

CRUDRequest.noCache


signal

Optional signal: AbortSignal

The AbortSignal interface represents a signal object that allows you to communicate with a DOM request and abort it if required via an AbortController object.

Inherited from

CRUDRequest.signal


timeout

Optional timeout: number

Sets a number of milliseconds before a request times out.

Inherited from

CRUDRequest.timeout


token

Optional token: string

Authorization Token. If set, onTokenRefresh will not be called.

Inherited from

CRUDRequest.token

Clone this wiki locally