Interface HonuaOdataBatchOperation

Single batch operation, in canonical SDK terms.

interface HonuaOdataBatchOperation {
    body?: Record<string, unknown>;
    headers?: Record<string, string>;
    id?: string;
    method:
        | "GET"
        | "POST"
        | "PATCH"
        | "DELETE";
    url: string;
}

Properties

body?: Record<string, unknown>

JSON body for POST / PATCH requests.

headers?: Record<string, string>

Optional headers to merge with the per-batch defaults.

id?: string

Request id; the adapter assigns one when omitted.

method:
    | "GET"
    | "POST"
    | "PATCH"
    | "DELETE"
url: string

Path relative to the OData service root (no leading slash).