CreateCsvMappingRequest
Request to create a new reusable CSV mapping.
Saved mappings can be referenced by code in future imports/exports,
eliminating the need to specify column mappings each time.
Properties
| Name | Type | Description |
|---|---|---|
| name* | string | Human-readable display name for this mapping. |
Human-readable display name for this mapping. | ||
| columnMappings* | array of CsvColumnMappingDto | The column mappings that define how CSV headers map to client fields. |
The column mappings that define how CSV headers map to client fields. | ||
| matchField | enum | Code Name CompanyNumber InternalReference NiNumber |
Code Name CompanyNumber InternalReference NiNumber | ||
| mappingType* | enum | Client |
Client | ||
JSON Example
{
"name": "string",
"columnMappings": [
{
"csvHeader": "...",
"targetField": "..."
}
],
"matchField": "Code",
"mappingType": "Client"
}