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

    Interface UpsertResponse

    interface UpsertResponse {
        data?: QuickbaseRecord[];
        metadata?: {
            createdRecordIds?: number[];
            lineErrors?: Record<string, string[]>;
            totalNumberOfRecordsProcessed?: number;
            unchangedRecordIds?: number[];
            updatedRecordIds?: number[];
            [key: string]: unknown;
        };
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    Properties

    The data that is expected to be returned.

    metadata?: {
        createdRecordIds?: number[];
        lineErrors?: Record<string, string[]>;
        totalNumberOfRecordsProcessed?: number;
        unchangedRecordIds?: number[];
        updatedRecordIds?: number[];
        [key: string]: unknown;
    }

    Information about created records, updated records, referenced but unchanged records, and records having any errors while being processed.

    Type Declaration

    • [key: string]: unknown
    • OptionalcreatedRecordIds?: number[]

      Array containing the created record ids.

    • OptionallineErrors?: Record<string, string[]>

      This will only be returned in the case of failed records. It is a collection of errors that occurred when processing the incoming data that resulted in records not being processed. Each object has a key representing the sequence number of the record in the original payload (starting from 1). The value is a list of errors occurred.

    • OptionaltotalNumberOfRecordsProcessed?: number

      Number of records processed. Includes successful and failed record updates.

    • OptionalunchangedRecordIds?: number[]

      Array containing the unchanged record ids.

    • OptionalupdatedRecordIds?: number[]

      Array containing the updated record ids.