ImportCostConfigurationPayload
Outcome of a CSV cost-configuration import: how many categories, mappings, and rate versions were written, and what was skipped or flagged. All writes happen in a single transaction.
Number of distinct cost categories created or updated from the CSV (counted once per category code, even when several rows reference it).
importedMappingsInt!Number of distinct operation-to-cost-category mappings created or updated, keyed by (operationKind, costType).
importedRatesInt!Number of cost rate versions written. A new version is created only when a category has no current rate or its rate/currency changed; unchanged rates are not counted.
skippedRowsInt!Number of CSV data rows not applied — blank rows, plus rows rejected by validation (each rejection also appears in errors).
warnings[String!]!Non-fatal notices about rows that were still imported, e.g. an empty rate column defaulted to 0. Empty when the CSV was clean.
errors[FieldError!]!Per-row validation failures, each with a path (e.g. "csv.row[4].rate") and a message. Rows listed here were skipped; the rest of the import still committed. Empty means the import fully succeeded.
View exact SDL
"""
Outcome of a CSV cost-configuration import: how many categories, mappings, and rate versions were written, and what was skipped or flagged. All writes happen in a single transaction.
"""
type ImportCostConfigurationPayload {
"""
Number of distinct cost categories created or updated from the CSV (counted once per category code, even when several rows reference it).
"""
importedCategories: Int!
"""
Number of distinct operation-to-cost-category mappings created or updated, keyed by (operationKind, costType).
"""
importedMappings: Int!
"""
Number of cost rate versions written. A new version is created only when a category has no current rate or its rate/currency changed; unchanged rates are not counted.
"""
importedRates: Int!
"""
Number of CSV data rows not applied — blank rows, plus rows rejected by validation (each rejection also appears in `errors`).
"""
skippedRows: Int!
"""
Non-fatal notices about rows that were still imported, e.g. an empty rate column defaulted to 0. Empty when the CSV was clean.
"""
warnings: [String!]!
"""
Per-row validation failures, each with a `path` (e.g. "csv.row[4].rate") and a message. Rows listed here were skipped; the rest of the import still committed. Empty means the import fully succeeded.
"""
errors: [FieldError!]!
}One stable address across all schema views. Follow a field’s type to explore connections between domains.