ConfirmCsvImportRequest
Request to confirm column mapping configuration and start a CSV import job.
Used after uploading a CSV with showPreview=true to finalize the mapping and begin import.
Properties
| Name | Type | Description |
|---|---|---|
| mappingCode | string | Code of an existing saved mapping to use for this import. |
Code of an existing saved mapping to use for this import. | ||
| columnMappings | array of CsvColumnMappingDto | Inline column mappings to use for this import. |
Inline column mappings to use for this import. | ||
| matchField | enum | Code Name CompanyNumber InternalReference NiNumber |
Code Name CompanyNumber InternalReference NiNumber | ||
| importMode | enum | CreateOnly UpdateOnly CreateAndUpdate |
CreateOnly UpdateOnly CreateAndUpdate | ||
| enrichFromCompaniesHouse | boolean | Whether to enrich newly created clients with Companies House data after import. |
Whether to enrich newly created clients with Companies House data after import. | ||
| defaultClientType | enum | PrivateLimitedCompany PublicLimitedCompany LimitedLiabilityPartnership Partnership Individual Trust Charity SoleTrader |
PrivateLimitedCompany PublicLimitedCompany LimitedLiabilityPartnership Partnership Individual Trust Charity SoleTrader | ||
JSON Example
{
"mappingCode": "string",
"columnMappings": [
{
"csvHeader": "...",
"targetField": "..."
}
],
"matchField": "Code",
"importMode": "CreateOnly",
"enrichFromCompaniesHouse": false
}