{
"data": {
"type": "AssignmentManualReview",
"attributes": {
"isApproved": true
},
"relationships": {
"assignment": {
"data": {
"id": "FID001",
"type": "Assignment"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/assignment-manual-reviews' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "AssignmentManualReview",
"attributes": {
"isApproved": true
},
"relationships": {
"assignment": {
"data": {
"id": "FID001",
"type": "Assignment"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "AssignmentManualReview",
"attributes": {
"isApproved": true
},
"relationships": {
"assignment": {
"data": {
"id": "FID001",
"type": "Assignment"
}
}
}
},
"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": {}
}
}
}
]
}