Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ODataUpdateRequestConfig<EntityT>

Type parameters

Hierarchy

Implements

Index

Constructors

constructor

  • Creates an instance of ODataRequest.

    Parameters

    • service: string

      Technical name of the service the entity belongs to

    • entityName: string

      Technical name of the entity

    • entityConstructor: Constructable<EntityT>

      Constructor type of the entity to create a configuration for

    Returns ODataUpdateRequestConfig

Properties

customServicePath

customServicePath: string

entityConstructor

entityConstructor: Constructable<EntityT>

Constructor type of the entity to create a configuration for

entityName

entityName: string

Technical name of the entity

keys

keys: object

Type declaration

method

HTTP method of the request

payload

payload: MapType<any>

service

service: string

Technical name of the service the entity belongs to

Accessors

customHeaders

  • get customHeaders(): MapType<string>
  • set customHeaders(headers: MapType<string>): void

Methods

addCustomHeaders

  • addCustomHeaders(headers: MapType<string>): void
  • Add custom headers to the request. This is useful in case you want to provide your own authorization headers for example.

    Parameters

    • headers: MapType<string>

      Key-value pairs where the key is the name of a header property and the value is the respective value

    Returns void

queryParameters

  • queryParameters(): object

resourcePath

  • resourcePath(): string