{
"data": {
"id": "FID001",
"type": "AttemptSchedule",
"attributes": {
"activateAt": "string",
"deactivateAt": "string"
},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
}
}
}
}
curl --location --request PATCH 'https://api.synap.ac/v3/attempt-schedules/' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"id": "FID001",
"type": "AttemptSchedule",
"attributes": {
"activateAt": "string",
"deactivateAt": "string"
},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "AttemptSchedule",
"attributes": {
"activateAt": "string",
"deactivateAt": "string",
"isExpired": true
},
"relationships": {
"attempt": {
"data": {
"id": "FID001",
"type": "Attempt"
}
}
}
}
}