{
"data": {
"type": "QuestionImport",
"attributes": {
"csvUrl": "string",
"fieldMap": {},
"appendToTest": true
},
"relationships": {
"backgroundJob": {
"data": {
"id": "FID001",
"type": "BackgroundJob"
}
},
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/question-imports' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "QuestionImport",
"attributes": {
"csvUrl": "string",
"fieldMap": {},
"appendToTest": true
},
"relationships": {
"backgroundJob": {
"data": {
"id": "FID001",
"type": "BackgroundJob"
}
},
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "QuestionImport",
"attributes": {
"csvUrl": "string",
"fieldMap": {},
"appendToTest": true
},
"relationships": {
"backgroundJob": {
"data": {
"id": "FID001",
"type": "BackgroundJob"
}
},
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
}
}
}
}