QuickBase JS SDK v2 - v2.2.2
    Preparing search index...

    Class XmlClient

    XML API Client

    Provides methods for calling legacy QuickBase XML API endpoints. Create using the createXmlClient() function.

    Index

    Constructors

    Methods

    • Change group information.

      Parameters

      • groupId: string
      • Optionalname: string
      • Optionaldescription: string
      • OptionalaccountId: string

      Returns Promise<void>

    • Execute a raw XML API request. Enforces read-only mode if enabled. This is exposed for direct XML API calls not covered by typed methods.

      Parameters

      • dbid: string
      • action: string
      • body: string

      Returns Promise<string>

    • Add choices to a multiple-choice field.

      Parameters

      • tableId: string
      • fieldId: string | number
      • choices: string[]

      Returns Promise<FieldAddChoicesResultWithAlias>

    • Remove choices from a multiple-choice field.

      Parameters

      • tableId: string
      • fieldId: string | number
      • choices: string[]

      Returns Promise<FieldRemoveChoicesResultWithAlias>

    • Generate HTML/JS/CSV table of query results.

      Parameters

      • tableId: string
      • Optionaloptions: {
            clist?: (string | number)[];
            format?: "structured" | "csv";
            options?: string;
            query?: string;
            slist?: (string | number)[];
        }

      Returns Promise<string>

    • Get a record rendered as HTML.

      Parameters

      • tableId: string
      • options: { dfid?: string | number; jht?: boolean; key?: string; rid?: number }

      Returns Promise<string>

    • List all apps/tables the user can access.

      Parameters

      • Optionaloptions: {
            adminOnly?: boolean;
            excludeParents?: boolean;
            includeAncestors?: boolean;
            parentsOnly?: boolean;
            realmAppsOnly?: boolean;
            withEmbeddedTables?: boolean;
        }

      Returns Promise<GrantedDBsResultWithAlias>

    • Bulk import/update records from CSV data.

      Parameters

      • tableId: string
      • options: {
            clist?: (string | number)[];
            decimalPercent?: boolean;
            mergeFieldId?: string | number;
            recordsCsv: string;
            skipFirst?: boolean;
        }

      Returns Promise<ImportFromCSVResult>