Skip to main content
PATCH
Saved column mappings, so the second file from a customer arrives already mapped.

Headers

Prefer
enum<string>

Preference

Available options:
return=representation,
return=minimal,
return=none

Query Parameters

id
string
organization_id
string
name
string
entity_type
string
header_signature
string
natural_key_field
string
write_mode
string
is_shared
string
last_used_at
string
aliases
string
mapped_fields
string
row_version
string

Body

import_templates

Saved column mappings, so the second file from a customer arrives already mapped.

Only the ones somebody chose to keep: a template exists for every batch, and offering all of them back would be a list of every file ever uploaded.

aliases
integer<bigint>
entity_type
string<character varying>

Note: This is a Foreign Key to custom_field_scopes.entity.

Maximum string length: 80
header_signature
string<text>
id
string<uuid>

Note: This is a Primary Key.

is_shared
boolean<boolean>
last_used_at
string<timestamp with time zone>
mapped_fields
integer<bigint>
name
string<character varying>
Maximum string length: 200
natural_key_field
string<character varying>
Maximum string length: 63
organization_id
string<uuid>

Note: This is a Foreign Key to copilot_settings.organization_id.

row_version
integer<bigint>
write_mode
string<character varying>
Maximum string length: 20

Response

204

No Content