{
"data": {
"type": "GenerateTestJob",
"attributes": {
"source": {
"type": "collection",
"objectId": "string"
},
"length": 0,
"tagFilters": {
"weightingType": "percentage",
"filterRules": [
{
"weighting": 0,
"matchingRules": [
{}
]
}
]
},
"masteryLevels": [
"unseen"
]
},
"relationships": {
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
},
"tagSet": {
"data": {
"id": "FID001",
"type": "TagSet"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/generate-test-jobs' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "GenerateTestJob",
"attributes": {
"source": {
"type": "collection",
"objectId": "string"
},
"length": 0,
"tagFilters": {
"weightingType": "percentage",
"filterRules": [
{
"weighting": 0,
"matchingRules": [
{}
]
}
]
},
"masteryLevels": [
"unseen"
]
},
"relationships": {
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
},
"tagSet": {
"data": {
"id": "FID001",
"type": "TagSet"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "GenerateTestJob",
"attributes": {
"source": {
"type": "collection",
"objectId": "string"
},
"length": 0,
"tagFilters": {
"weightingType": "percentage",
"filterRules": [
{
"weighting": 0,
"matchingRules": [
{}
]
}
]
},
"masteryLevels": [
"unseen"
],
"state": "pending"
},
"relationships": {
"test": {
"data": {
"id": "FID001",
"type": "Test"
}
},
"tagSet": {
"data": {
"id": "FID001",
"type": "TagSet"
}
}
}
}
}