Skip to Content

The PimImportResult type of the TypeScript SDK, which calendars.import and addressbooks.import take or answer.

type PimImportResult = {
  createdCount: number
  failedCount: number
  items: PimImportItem[]
  replacedCount: number
  syncToken?: string
}

Fields

FieldTypeDescription
createdCountnumberCount of newly created objects
failedCountnumberCount of items that failed to import
itemsPimImportItem[]List of import results per item
replacedCountnumberCount of existing objects replaced
syncTokenstringOptional. Updated collection sync token

Used by

MethodWhat it does
calendars.importImport calendar data
addressbooks.importImport addressbook data

On this page