Private
constructorPrivate
OData
Optional
credential: CredentialOptional
fetchProxy: FetchProxyauto fetch csrf token before broken operation
please use static method OData.New
to create instance
Private
commondont direct use this object
use client.getHeaders()
Private
credentialhttp basic credential
Private
csrfinternal csrf token
Private
csrfPrivate
fetchPrivate
lockPrivate
oauthoauth client for client credential flow
Private
processPrivate
serviceodata service path, like /sap/c4c/odata/v1/c4codata/
Private
variantPrivate
versionPrivate
_executePrivate
_executeodata request
CollectionName
Optional
id: anyentity uuid or compound key
Optional
systemOptions: SystemQueryOptions<any>query param, not work for single entity uri
request method
Optional
entity: anyodata Entity instance
Optional
parameters: anyexecute batch requests and get response
batch request
Experimental
execute batch requests in OData V4.01
Json format, and get response
this feature is experimental, use it on your own risk.
Private
formatformat batch request parameter
Private
formatconvert the odata key predicate object/value to string
this.formatIdString(1) // => String('(1)')
this.formatIdString({UUID:'xxx'}) // => String('(UUID='xxx')')
Optional
parameters: anyPrivate
getcreate new filter
OData.newFilter
create new system query options
create new system query options
OData.newParam
new odata http request
Private
requestodata request uri
HTTP URI
Optional
systemOptions: SystemQueryOptions<any>odata query params
HTTP method
Optional
body: anyrequest content
Set OData Client Http Basic credential
setODataEndPath
e.g. https://tenant.c4c.saphybriscloud.cn/sap/c4c/odata/v1/c4codata/
Static
NewOData client builder
config options
Static
New4create odata client instance for odata v4
Static
newnew filter
Static
newnew odata query options
Static
newnew odata query options
Static
new
OData Client