curl --request POST \
--url https://api.decodahealth.com/user/patient/uploads/column-mappings \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '
{
"name": "<string>",
"mappings": [
{
"csvHeader": "<string>",
"mappedField": "<string>"
}
],
"isDefault": false
}
'{
"id": "<string>",
"name": "<string>",
"isDefault": true,
"mappings": [
{
"id": "<string>",
"groupId": "<string>",
"csvHeader": "<string>",
"mappedField": "<string>"
}
]
}Create a new column mapping group with its associated mappings.
curl --request POST \
--url https://api.decodahealth.com/user/patient/uploads/column-mappings \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '
{
"name": "<string>",
"mappings": [
{
"csvHeader": "<string>",
"mappedField": "<string>"
}
],
"isDefault": false
}
'{
"id": "<string>",
"name": "<string>",
"isDefault": true,
"mappings": [
{
"id": "<string>",
"groupId": "<string>",
"csvHeader": "<string>",
"mappedField": "<string>"
}
]
}The tenant you are making this request on behalf of
Your api key