Outcome Imports
An OutcomeImportData object looks like:
{
// The type of outcome import
"import_type": "instructure_csv"
}An OutcomeImport object looks like:
{
// The unique identifier for the outcome import.
"id": 1,
// The unique identifier for the group into which the outcomes will be imported
// to, or NULL.
"learning_outcome_group_id": 1,
// The date the outcome import was created.
"created_at": "2013-12-01T23:59:00-06:00",
// The date the outcome import finished. Returns null if not finished.
"ended_at": "2013-12-02T00:03:21-06:00",
// The date the outcome import was last updated.
"updated_at": "2013-12-02T00:03:21-06:00",
// The current state of the outcome import.
// - 'created': The outcome import has been created.
// - 'importing': The outcome import is currently processing.
// - 'succeeded': The outcome import has completed successfully.
// - 'failed': The outcome import failed.
"workflow_state": "imported",
// See the OutcomeImportData specification above.
"data": null,
// The progress of the outcome import.
"progress": "100",
// The user that initiated the outcome_import. See the Users API for details.
"user": null,
// An array of row number / error message pairs. Returns the first 25 errors.
"processing_errors": [[1, "Missing required fields: title"]]
}Import Outcomes
POST /api/v1/accounts/:account_id/outcome_imports(/group/:learning_outcome_group_id)
POST /api/v1/courses/:course_id/outcome_imports(/group/:learning_outcome_group_id)
Request Parameters:
Parameter
Type
Description
Get Outcome import status
GET /api/v1/accounts/:account_id/outcome_imports/:id
GET /api/v1/courses/:course_id/outcome_imports/:id
Get IDs of outcome groups created after successful import
GET /api/v1/accounts/:account_id/outcome_imports/:id/created_group_ids
GET /api/v1/courses/:course_id/outcome_imports/:id/created_group_ids
Last updated
Was this helpful?