Update a submission
PUT /submissions/{id}
curl \
-X PUT https://api.wei.co.mz/submissions/{id} \
-H "Content-Type: application/json" \
-d '{"id":"string","answers":[{"option":"string","question":"string"}],"meta":{"id":"string","label":"string","type":"string"},"score":42.0,"user":"string","createdAt":"2023-05-04T09:42:00+00:00","updatedAt":"2023-05-04T09:42:00+00:00","time":42}'
Request example
{
"id": "string",
"answers": [
{
"option": "string",
"question": "string"
}
],
"meta": {
"id": "string",
"label": "string",
"type": "string"
},
"score": 42.0,
"user": "string",
"createdAt": "2023-05-04T09:42:00+00:00",
"updatedAt": "2023-05-04T09:42:00+00:00",
"time": 42
}
Request examples
{
"id": "string",
"answers": [
{
"option": "string",
"question": "string"
}
],
"meta": {
"id": "string",
"label": "string",
"type": "string"
},
"score": 42.0,
"user": "string",
"createdAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00",
"time": 42
}