getLineItemsForClass
GET/ims/oneroster/v1p1/classes/:id/lineItems
Return the collection of line items (Columns) in the gradebook for this class.
Request
Path Parameters
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 [
- ]
lineItems object[]required
Date string (ISO 8601)
Date string (ISO 8601)
class objectrequired
Possible values: [org
, course
, term
, class
, user
, lineItem
]
category object
Possible values: [org
, course
, term
, class
, user
, lineItem
]
{
"lineItems": [
{
"assignDate": "string",
"dueDate": "string",
"sourcedId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "string",
"description": "string",
"resultValueMin": 0,
"resultValueMax": 0,
"class": {
"type": "org",
"sourcedId": "string"
},
"category": {
"type": "org",
"sourcedId": "string"
},
"status": "string"
}
]
}
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error