Creates an instance of ODataRequest.
Configuration of the request.
Destination to setup the request against.
Get all custom headers.
Key-value pairs where the key is the name of a header property and the value is the respective value
Get all default headers. If custom headers are set, those take precedence.
Key-value pairs where the key is the name of a header property and the value is the respective value
Get the eTag related headers, e. g. if-match
.
Key-value pairs where the key is the name of a header property and the value is the respective value
Execute the given request and return the according promise.
Promise resolving to the requested data
Create object containing all headers, including custom headers for the given request.
Key-value pairs where the key is the name of a header property and the value is the respective value
Specifies whether the destination needs a specific authentication or not.
A boolean value that specifies whether the destination needs authentication or not
Get query parameters as string. Leads with ?
if there are parameters to return.
Query parameter string
Returns the relative URL to a specific OData resource.
Whether or not to include the service path in the URL.
The relative URL of the resource.
Returns the service URL relative to the url of the destination for a given OData request.
The relative URL of the service the given entity belongs to.
Constructs a URL relative to the destination.
Whether or not to include the service path in the URL.
Whether or not to include the query parameters in the URL.
The relative URL for the request.
Returns the URL to a specific OData .resource, i.e. the entity collection.
The URL of the resource
Returns the service URL for a given OData request.
The URL of the service the given entity belongs to
Constructs an absolute URL for the given request.
The absolute URL for the request.
Copyright Ⓒ 2023 SAP SE or an SAP affiliate company. All rights reserved.
OData request configuration for an entity type.
Type of the entity to setup a request for