Community

Student Q&A
0

API question about submissions

Seguir

Hi -- I'm a parent and also an application developer. I'm working on a tool to help my son get an overview of assignment/assessment status in a way that works a little better with his special needs.

I'm successfully using the OAuth API (in a general sense), but I'm having difficulty seeing details about submissions. 

 

The assignments endpoint returns a payload like this:

{
"id": 4594416228,
"title": "FA #1 - Motion Intro",
"description": "",
"due": "2021-01-21 23:59:00",
"grading_scale": "0",
"grading_period": "798360",
"grading_category": "44448211",
"max_points": "4",
"factor": "1",
"is_final": "0",
"show_comments": "0",
"grade_stats": "0",
"allow_dropbox": "0",
"allow_discussion": "0",
"published": 1,
"type": "assessment",
"grade_item_id": 4594416228,
"available": 1,
"completed": 1,
"dropbox_locked": 0,
"grading_scale_type": 0,
"show_rubric": false,
"display_weight": null,
"folder_id": "381064232",
"assignment_type": "basic",
"web_url": "https://app.schoology.com/assignment/4594416228",
"last_updated": "1611233335",
"completion_status": ""
}

... and the Submissions endpoint for that assignment shows nothing (/submissions/4594416228)

{
"revision": []
}

... but the grades endpoint shows a grade ... the "3/4" part that's in green on the screenshot. 

{
"grades": {
"grade": [
{
"enrollment_id": 2452214649,
"assignment_id": 4594416228,
"grade": 3,
"exception": 0,
"max_points": 4,
"is_final": 0,
"timestamp": 1611802615,
"comment": null,
"comment_status": null,
"override": 1,
"calculated_grade": 3.14,
"pending": null,
"type": "assessment",
"location": "https://api.schoology.com/v1/sections/2939245126/assignments/4594416228",
"scale_id": 1,
"scale_type": 0,
"category_id": 44448211,
"school_uid": "s24033"
}
]
},
"period": [
{
"period_id": "p798360",
"period_title": "SEM 2 Qtr3: 2021-01-04 - 2021-03-12",
"weight": "50.00"
},
{
"period_id": "p798361",
"period_title": "SEM 2 Qtr4: 2021-03-16 - 2021-05-27",
"weight": "50.00"
}
],
"final_grade": [
{
"enrollment_id": "2452214649",
"period": [
{
"period_id": "p798360",
"grade": 76.28,
"comment": "",
"comment_status": null
},
{
"period_id": "p798361",
"grade": null,
"comment": "",
"comment_status": null
},
{
"period_id": "other",
"grade": null,
"comment": "",
"comment_status": null
},
{
"period_id": "final",
"grade": 76.28,
"comment": "",
"comment_status": null
}
],
"scale_id": 0
}
]
}

 

So I'm stumped right now, trying to find the following information from that screenshot via the API:

  • Final score 10.5/14 ?
  • Started
  • Completed
  • Time Taken
  • Score

I realize this may be more technical than this forum is typically for, but I would appreciate any pointers to the correct resources to figure this out. I'm going off this documentation thus far: https://developers.schoology.com/api-documentation/rest-api-v1

Thanks,

Clay

Respondida

1 comentario

  • Avatar
    Nina Lewis Comentario oficial

    Hi Clay!

    Thank you for reaching out in the Schoology Community!

    This issue requires further investigation by the Schoology Help Desk.

    I have submitted a ticket on your behalf for further review. 

    We will follow up with you via the support ticket.

    Best,

    Nina Lewis 

    Community Communications Specialist 

    Schoology | A PowerSchool Unified Classroom Product

Iniciar sesión para dejar un comentario.
Tecnología de Zendesk