skipcheck

TM1 client · Docs · Queries

ODataJson

import { ODataJson } from "@skipcheck/tm1-client";

OData 4.0 JSON control information names, and helpers for writing them.

Members

CONTEXT staticThe context URL.
ETAG staticAn entity's ETag, for optimistic concurrency (If-Match).
TYPE staticThe (derived) type of an entity, e.g.
ID staticAn entity's ID.
NEXT_LINK staticThe next page of a partial collection.
DELTA_LINK staticThe link for changes since this response, with change tracking.
COUNT staticThe total number of items, with $count=true.
BIND_SUFFIX staticThe suffix binding a navigation property to existing entities in a request.
bind static"Cubes('c')"} (or a list, for several), for a POST or PATCH body.

CONTEXT

static
CONTEXT

The context URL.

ETAG

static
ETAG

An entity's ETag, for optimistic concurrency (If-Match).

TYPE

static
TYPE

The (derived) type of an entity, e.g. #ibm.tm1.api.v1.MDXView.

ID

static
ID

An entity's ID.

COUNT

static
COUNT

The total number of items, with $count=true.

BIND_SUFFIX

static
BIND_SUFFIX

The suffix binding a navigation property to existing entities in a request.

bind

static
static bind(navigation: string, target: ODataPath | readonly ODataPath[]): Record<string, string | string[]>

{"Cube@odata.bind": "Cubes('c')"} (or a list, for several), for a POST or PATCH body.