{
"data": {
"type": "ProctorReview",
"attributes": {
"body": "string",
"action": "string"
},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"user": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/proctor-reviews' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "ProctorReview",
"attributes": {
"body": "string",
"action": "string"
},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"user": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "ProctorReview",
"attributes": {
"id": "string",
"body": "string",
"action": "string",
"timestamp": "string"
},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
},
"user": {
"data": {
"id": "FID001",
"type": "User"
}
}
}
},
"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": {}
}
}
}
]
}