{
"data": {
"type": "AssignmentGroupDataExport",
"attributes": {
"type": "survey-responses"
},
"relationships": {
"assignmentGroup": {
"data": {
"id": "FID001",
"type": "AssignmentGroup"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/assignment-group-data-exports' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "AssignmentGroupDataExport",
"attributes": {
"type": "survey-responses"
},
"relationships": {
"assignmentGroup": {
"data": {
"id": "FID001",
"type": "AssignmentGroup"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "AssignmentGroupDataExport",
"attributes": {
"id": "string",
"type": "survey-responses"
},
"relationships": {
"assignmentGroup": {
"data": {
"id": "FID001",
"type": "AssignmentGroup"
}
}
}
},
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
],
"links": {
"self": "https://some-url.com/path?query=true"
},
"meta": {}
}