getResultsForLineItemForClass
GET/ims/oneroster/v1p1/classes/:id/lineItems/:lineItemSourcedId/results
Return the collection of results (assessed grades), for this specific lineItem (Column) for this class.
Request
Path Parameters
id
Line Item Source id
Query Parameters
Possible values: >= 1
and <= 2500
Default value: 100
The number of results to return
The index of the first record to return. (zero indexed)
Default value: dateLastModified
The sort query parameter allows collections to be returned in a specific order based on a single data element from the resource's core attributes. The sort parameter specifies the field to sort by (e.g., ?sort=familyName).
Possible values: [asc
, desc
]
Default value: desc
orderBy MAY be used in the request to ask for the collection to be ordered ascending (asc) or descending (desc).
Please find the following link to see information on filtering here.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
results object[]required
Date string (ISO 8601)
DateTime string (ISO 8601)
lineItem objectrequired
student objectrequired
{
"results": [
{
"scoreDate": "string",
"dateLastModified": "string",
"sourcedId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"score": 0,
"comment": "string",
"scoreStatus": {},
"lineItem": {
"sourcedId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"student": {
"sourcedId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}
]
}
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error