Type alias QuickBaseResponseUpsert

QuickBaseResponseUpsert: {
    data: Record<string, {
        value: any;
    }>[];
    metadata: {
        createdRecordIds: number[];
        lineErrors: Record<string, string[]>;
        totalNumberOfRecordsProcessed: number;
        unchangedRecordIds: number[];
        updatedRecordIds: number[];
    };
}

Type declaration

  • data: Record<string, {
        value: any;
    }>[]

    The data that is expected to be returned.

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

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

    • createdRecordIds: number[]

      Array containing the created record ids.

    • lineErrors: 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.

    • totalNumberOfRecordsProcessed: number

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

    • unchangedRecordIds: number[]

      Array containing the unchanged record ids.

    • updatedRecordIds: number[]

      Array containing the updated record ids.