curl --request POST \
--url https://app.azalt.co/api/v1/form-submissions/recalculate-scores \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"formId": "<string>",
"siteId": "<string>",
"year": 123
}
'{
"totalSubmissions": 123,
"updatedCount": 123
}Recalculate and persist scores for all submissions in a public form site.
curl --request POST \
--url https://app.azalt.co/api/v1/form-submissions/recalculate-scores \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"formId": "<string>",
"siteId": "<string>",
"year": 123
}
'{
"totalSubmissions": 123,
"updatedCount": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.