Call: python manage.py load_submission [options/args]
Purpose: Load submission data from submission file into the database
Flags:
-v
This flag will print a message when ever a submission file is completed, when an error or warning is raised, and returns a log file.
-vv
This flag prints the same messages as -v, as well as row by row data validation.
$python manage.py load_submission 16
This call will load the submission with id 16 from the db.
{
"results": [
{
"code": "",
"decription": ""
},
....
],
}
Possible HTTP Status Codes:
- 400 : Missing parameters or limit is not a valid, positive integer
- 500 : All other errors
{
"message": "Sample error message"
}