curl --request POST \
--url https://qti.alpha-1edtech.ai/api/assessment-tests/{assessmentTestIdentifier}/test-parts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"identifier": "<string>",
"navigationMode": "linear",
"submissionMode": "individual",
"qti-assessment-section": [
{
"identifier": "<string>",
"title": "<string>",
"visible": true,
"required": true,
"fixed": false,
"sequence": 123,
"qti-assessment-item-ref": [
{
"identifier": "<string>",
"href": "<string>"
}
]
}
]
}
'{
"identifier": "<string>",
"navigationMode": "linear",
"submissionMode": "individual",
"qti-assessment-section": [
{
"identifier": "<string>",
"title": "<string>",
"visible": true,
"required": true,
"fixed": false,
"sequence": 123,
"qti-assessment-item-ref": [
{
"identifier": "<string>",
"href": "<string>"
}
]
}
],
"rawXml": "<string>",
"content": {
"qti-test-part": {
"_attributes": {
"identifier": "<string>",
"navigation-mode": "<string>",
"submission-mode": "<string>"
},
"qti-assessment-section": [
{
"_attributes": {
"identifier": "<string>",
"title": "<string>",
"visible": "<string>",
"required": "<string>",
"fixed": "<string>"
},
"qti-assessment-item-ref": [
{
"_attributes": {
"identifier": "<string>",
"href": "<string>"
}
}
]
}
]
}
}
}Create a new test part within an assessment test. Test parts organize sections and define navigation behaviors (linear/nonlinear) and submission modes. The assessment test’s XML structure is automatically updated to include the new test part.
curl --request POST \
--url https://qti.alpha-1edtech.ai/api/assessment-tests/{assessmentTestIdentifier}/test-parts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"identifier": "<string>",
"navigationMode": "linear",
"submissionMode": "individual",
"qti-assessment-section": [
{
"identifier": "<string>",
"title": "<string>",
"visible": true,
"required": true,
"fixed": false,
"sequence": 123,
"qti-assessment-item-ref": [
{
"identifier": "<string>",
"href": "<string>"
}
]
}
]
}
'{
"identifier": "<string>",
"navigationMode": "linear",
"submissionMode": "individual",
"qti-assessment-section": [
{
"identifier": "<string>",
"title": "<string>",
"visible": true,
"required": true,
"fixed": false,
"sequence": 123,
"qti-assessment-item-ref": [
{
"identifier": "<string>",
"href": "<string>"
}
]
}
],
"rawXml": "<string>",
"content": {
"qti-test-part": {
"_attributes": {
"identifier": "<string>",
"navigation-mode": "<string>",
"submission-mode": "<string>"
},
"qti-assessment-section": [
{
"_attributes": {
"identifier": "<string>",
"title": "<string>",
"visible": "<string>",
"required": "<string>",
"fixed": "<string>"
},
"qti-assessment-item-ref": [
{
"_attributes": {
"identifier": "<string>",
"href": "<string>"
}
}
]
}
]
}
}
}The access token received from the authorization server in the OAuth 2.0 flow.
The unique identifier of the parent assessment test where the test part will be created
The test part to create
Create a new test part on the service provider. A test part must contain at least one assessment section, and the navigation and submission modes must be specified.
Unique identifier for the entity on the service provider.
Controls how learners navigate through the test part. 'linear' requires items to be responded to in sequence without jumping around, while 'nonlinear' allows candidates to respond to items in any order they choose.
linear, nonlinear Determines how learner responses are submitted for response processing. 'individual' allows responses to be submitted as each item is completed, while 'simultaneous' means responses for all items are sent when the whole part is completed.
individual, simultaneous Show child attributes
Test part created successfully
Response data returned after successfully creating a new test part. Includes the generated XML and parsed content structure.
Unique identifier for the entity on the service provider.
Controls how learners navigate through the test part. 'linear' requires items to be responded to in sequence without jumping around, while 'nonlinear' allows candidates to respond to items in any order they choose.
linear, nonlinear Determines how learner responses are submitted for response processing. 'individual' allows responses to be submitted as each item is completed, while 'simultaneous' means responses for all items are sent when the whole part is completed.
individual, simultaneous Show child attributes
Raw XML representation of the entity, automatically generated from the JSON or XML sent when creating entities on the service provider. The rawxml field will contain all content sent when creating the entity on the service provider. This field is stable and should be used when working within this QTI API.
Show child attributes