curl --request POST \
--url https://app.azalt.co/api/v1/forms/import-csv \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"forms": [
{
"name": "<string>",
"siteIds": [
"<string>"
],
"years": [
123
],
"elements": [
{
"key": "<string>",
"label": "<string>",
"type": "NUMBER",
"optionValues": [
"<string>"
],
"optionLabels": [
"<string>"
],
"datasetItems": [
"<string>"
],
"description": "<string>",
"placeholder": "<string>",
"unit": "<string>",
"unitId": "<string>",
"required": true,
"period": "YEARLY",
"metadata": {}
}
],
"tags": [
"<string>"
]
}
]
}
'