CampusAPI Grading Services API documentation version 0.1.5
Based on OSID version 3.0.0
https://base.url/grading
Overview
The Grading service package defines functions for applying and managing grades or ratings.
This package includes the following entities:
Grades
Grades represent qualified performance levels defined within some grading system.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this grade, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this grade, provided by system. | string(uri) |
displayName | The name of this grade for display. | string |
description | The description of this grade. | string |
genusTypeId (read‑only) | Id of the immutable type of this grade. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this grade. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
gradeSystemId (read‑only) | The grade system associated with this grade. References a grading.GradeSystem object. | string(osid‑id) |
inputScoreStartRange | The low end of the input score range equivalent to this grade. | number |
inputScoreEndRange | The high end of the input score range equivalent to this grade. | number |
outputScore | The output score for this grade used for calculating cumultives or performing articulation. | number |
GradeSystems
GradeSystems provide the means to retrievs and manage GradeSystem definitions. A GradeSystem is a fixed set of Grades. GradeSystems may also take the form of a numerical score as well as a rating based on some system. GradeEntries belong to a single GradebookColumn.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this grade system, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this grade system, provided by system. | string(uri) |
displayName | The name of this grade system for display. | string |
description | The description of this grade system. | string |
genusTypeId (read‑only) | Id of the immutable type of this grade system. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this grade system. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
basedOnGrades | Tests if the grading system is based on grades. | boolean |
lowestNumericScore | The lowest number in a numeric grading system. | number |
numericScoreIncrement | The incremental step. | number |
highestNumericScore | The highest number in a numeric grading system. | number |
GradeEntries
A GradebookColumn is comprised of a series of GradeEntry elements. A GradebookColumn may represent "Assignment 3" while a GradeEntry may represent the assignment turned in by a particular student.
A Grade can be applied to a GradeEntry that relates the entry to a grader and a key Resource. In the case of a class gradebook, the key resource represents the student. If there are multiple graders for the same key resource, each grader gets their own GradebookColumn.
Gradebooks may also be used to capture ratings about other objects. In the case where people vote for their favorite assets, the key resource represents the Asset.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this grade entry, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this grade entry, provided by system. | string(uri) |
displayName | The name of this grade entry for display. | string |
description | The description of this grade entry. | string |
genusTypeId (read‑only) | Id of the immutable type of this grade entry. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this grade entry. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
startDate | The starting date of this grade entry. | string(date‑time) |
endDate | The ending date of this grade entry. | string(date‑time) |
endReasonId | The reason this grade entry ended. References a process.State object. | string(osid‑id) |
gradebookColumnId (read‑only) | The gradebook column associated with this grade entry. References a grading.GradebookColumn object. | string(osid‑id) |
keyResourceId (read‑only) | The key resource associated with this grade entry. References a resource.Resource object. | string(osid‑id) |
ignoredForCalculations | Tests if this is entry should be ignored in any averaging, scaling or curve calculation. | boolean |
gradeId | The grade in this entry if the grading system is based on grades. References a grading.Grade object | string(osid‑id) |
score | The score in this entry if the grading system is not based on grades. | number |
GradebookColumns
A Gradebook is represented by a series of GradebookColumns. A GradeBookColumn represents a something to be graded and is joined to a single GradeSystem. A GradebookColumn may be constrained to a single grader.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this gradebook column, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this gradebook column, provided by system. | string(uri) |
displayName | The name of this gradebook column for display. | string |
description | The description of this gradebook column. | string |
genusTypeId (read‑only) | Id of the immutable type of this gradebook column. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this gradebook column. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
gradeSystemId | The GradeSystem in which this grade belongs. References a grading.GradeSystem object | string(osid‑id) |
Gradebooks
GradebookColumns are organized into Gradebooks. Gradebooks also provide for a federated hierarchy of GradebookColumns. Simple reordering of GradebookColumns can be performed by moving the GradebookColumn relative to another. The relative positioning may reference two GradebookColumns through the federation.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this gradebook, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this gradebook, provided by system. | string(uri) |
displayName | The name of this gradebook for display. | string |
description | The description of this gradebook. | string |
genusTypeId (read‑only) | Id of the immutable type of this gradebook. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this gradebook. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
providerId | The provider of this gradebook. References a resource.Resource object. | string(osid‑id) |
brandingIds | The branding of this gradebook. References repository.Asset objects. | string(osid‑id)[] |
license | The licensing that applies to this gradebook. | string |
License
CampusAPI REST Documentation Copyright 2023 DXtera Institute. Based on the Open Service Interface Definitions: http://osid.org
/grade-systems
Collection of GradeSystems in a system, federation of systems, or in a default Gradebook.
Get all GradeSystems in the system or default Gradebook.
Create a new GradeSystem in the default Gradebook.
get /grade-systems
Get all GradeSystems in the system or default Gradebook.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleGradeSystemType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleGradeSystemType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleGradeSystemType%40campusapi.org
- gradeId: (string)
Id string to match grade.
Example:
grading.Grade%3A7386%40base.url
- gradebookId: (string)
The id string to match a gradebook
Example:
grading.Gradebook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradeSystem:6220@base.url",
"uri": "http://base.url/open/campusapi/grading/grade_system/grading.GradeSystem%3A6220%40base.url",
"displayName": "Display Name of this GradeSystem",
"description": "The description of this GradeSystem",
"genusTypeId": "type.Type:defaultGradeSystemType@base.url",
"recordTypeIds": [ "type.Type:exampleGradeSystemRecordType@campusapi.org", "..."],
"basedOnGrades": true,
"lowestNumericScore": 3.14,
"numericScoreIncrement": 3.14,
"highestNumericScore": 3.14
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /grade-systems
Create a new GradeSystem in the default Gradebook.
Query Parameters
- genusType: (string)
specify a particular gradeSystem type to create
Example:
type.Type%3AexampleGradeSystemType%40dxtera.org
- recordType: (array of )
specify support for one or more gradeSystem record types
Example:
[ "type.Type%3AexampleGradeSystemRecordType%40campusapi.org", "..." ]
- gradebookId: (string)
specify in which gradebook to create this gradeSystem
Example:
grading.Gradebook%3A8374%40base.url
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradeSystem",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this grade system, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this grade system, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this grade system for display.",
"type": "string"
},
"description": {
"description": "The description of this grade system.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this grade system. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this grade system. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"basedOnGrades": {
"description": "Tests if the grading system is based on grades.",
"type": "boolean"
},
"lowestNumericScore": {
"description": "The lowest number in a numeric grading system.",
"type": "number"
},
"numericScoreIncrement": {
"description": "The incremental step.",
"type": "number"
},
"highestNumericScore": {
"description": "The highest number in a numeric grading system.",
"type": "number"
}
}
}
Example:
{
"displayName": "Display Name of this GradeSystem",
"description": "The description of this GradeSystem",
"basedOnGrades": true,
"lowestNumericScore": 3.14,
"numericScoreIncrement": 3.14,
"highestNumericScore": 3.14
}
Query the collection of GradeSystems in a system, federation of systems, or in a default gradebook by posting a Query object.
Submit a query using a GradeSystemQuery object.
post /grade-systems/grade-system-query
Submit a query using a GradeSystemQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradeSystemQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchBasedOnGrades": {
"description": "Match boolean value for basedOnGrades.",
"type": "object",
"properties": {
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
},
"matchLowestNumericScore": {
"description": "Match LowestNumericScore within the given range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"description": "starting value",
"type": "number"
},
"to": {
"description": "ending value",
"type": "number"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyLowestNumericScore": {
"description": "Match lowestNumericScores with any value. true to match GradeSystems with any lowest numeric score, false to match ProgramOfferings with no lowest numeric score",
"type": "boolean"
},
"matchNumericScoreIncrement": {
"description": "Match NumericScoreIncrement within the given range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"description": "starting value",
"type": "number"
},
"to": {
"description": "ending value",
"type": "number"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyNumericScoreIncrement": {
"description": "Match numericScoreIncrements with any value. true to match GradeSystems with any numeric score increment, false to match ProgramOfferings with no numeric score increment",
"type": "boolean"
},
"matchHighestNumericScore": {
"description": "Match HighestNumericScore within the given range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"description": "starting value",
"type": "number"
},
"to": {
"description": "ending value",
"type": "number"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyHighestNumericScore": {
"description": "Match highestNumericScores with any value. true to match GradeSystems with any highest numeric score, false to match ProgramOfferings with no highest numeric score",
"type": "boolean"
},
"matchGradebookIds": {
"description": "List of Gradebook Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"gradebookId": {
"description": "Gradebook id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"gradebookQueries": {
"description": "GradebookQueries to match Gradebook. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradeSystem:6220@base.url",
"uri": "http://base.url/open/campusapi/grading/grade_system/grading.GradeSystem%3A6220%40base.url",
"displayName": "Display Name of this GradeSystem",
"description": "The description of this GradeSystem",
"genusTypeId": "type.Type:defaultGradeSystemType@base.url",
"recordTypeIds": [ "type.Type:exampleGradeSystemRecordType@campusapi.org", "..."],
"basedOnGrades": true,
"lowestNumericScore": 3.14,
"numericScoreIncrement": 3.14,
"highestNumericScore": 3.14
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a GradeSystem form metadata.
Get form metadata for creating a new GradeSystem.
get /grade-systems/metadata
Get form metadata for creating a new GradeSystem.
Query Parameters
- genusType: (string)
specify a particular gradeSystem type to create
Example:
type.Type%3AexampleGradeSystemType%40dxtera.org
- recordType: (array of )
specify support for one or more gradeSystem record types
Example:
[ "type.Type%3AexampleGradeSystemRecordType%40campusapi.org", "..." ]
- gradebookId: (string)
specify in which gradebook to create this gradeSystem
Example:
grading.Gradebook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "GradeSystem",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this grade system, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this grade system, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this grade system for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeSystem.GradeSystem:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this grade system",
"linked": false
},
"description": {
"description": "The description of this grade system.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeSystem.GradeSystem:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this grade system",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this grade system. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this grade system. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"basedOnGrades": {
"description": "Tests if the grading system is based on grades.",
"type": "boolean",
"elementId": "grading.GradeSystem:basedOnGrades@dxtera.org",
"existingValue": false,
"elementLabel": "Based On Grades",
"instructions": "Enter true or false.",
"linked": false
},
"lowestNumericScore": {
"description": "The lowest number in a numeric grading system.",
"type": "number",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "grading.GradeSystem:lowestNumericScore@dxtera.org",
"existingValue": 3.14,
"elementLabel": "Lowest Numeric Score",
"instructions": "Enter the lowest numeric score of this grade system.",
"linked": false
},
"numericScoreIncrement": {
"description": "The incremental step.",
"type": "number",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "grading.GradeSystem:numericScoreIncrement@dxtera.org",
"existingValue": 3.14,
"elementLabel": "Numeric Score Increment",
"instructions": "Enter the numeric score increment of this grade system.",
"linked": false
},
"highestNumericScore": {
"description": "The highest number in a numeric grading system.",
"type": "number",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "grading.GradeSystem:highestNumericScore@dxtera.org",
"existingValue": 3.14,
"elementLabel": "Highest Numeric Score",
"instructions": "Enter the highest numeric score of this grade system.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a GradeSystem
Get a particular GradeSystem given its id.
Update a particular GradeSystem given its id.
Delete a particular GradeSystem given its id.
get /grade-systems/{gradeSystemId}
Get a particular GradeSystem given its id.
URI Parameters
- gradeSystemId: required(string)
Query Parameters
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "grading.GradeSystem:6220@base.url",
"uri": "http://base.url/open/campusapi/grading/grade_system/grading.GradeSystem%3A6220%40base.url",
"displayName": "Display Name of this GradeSystem",
"description": "The description of this GradeSystem",
"genusTypeId": "type.Type:defaultGradeSystemType@base.url",
"recordTypeIds": [ "type.Type:exampleGradeSystemRecordType@campusapi.org", "..."],
"basedOnGrades": true,
"lowestNumericScore": 3.14,
"numericScoreIncrement": 3.14,
"highestNumericScore": 3.14
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradeSystem not found" }
put /grade-systems/{gradeSystemId}
Update a particular GradeSystem given its id.
URI Parameters
- gradeSystemId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradeSystem",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this grade system, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this grade system, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this grade system for display.",
"type": "string"
},
"description": {
"description": "The description of this grade system.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this grade system. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this grade system. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"basedOnGrades": {
"description": "Tests if the grading system is based on grades.",
"type": "boolean"
},
"lowestNumericScore": {
"description": "The lowest number in a numeric grading system.",
"type": "number"
},
"numericScoreIncrement": {
"description": "The incremental step.",
"type": "number"
},
"highestNumericScore": {
"description": "The highest number in a numeric grading system.",
"type": "number"
}
}
}
Example:
{
"displayName": "Display Name of this GradeSystem",
"description": "The description of this GradeSystem",
"basedOnGrades": true,
"lowestNumericScore": 3.14,
"numericScoreIncrement": 3.14,
"highestNumericScore": 3.14
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The GradeSystem has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradeSystem not found" }
delete /grade-systems/{gradeSystemId}
Delete a particular GradeSystem given its id.
URI Parameters
- gradeSystemId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The GradeSystem has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradeSystem not found" }
Entity representing a GradeSystem form metadata for update
Get form metadata for updating an existing GradeSystem.
get /grade-systems/{gradeSystemId}/metadata
Get form metadata for updating an existing GradeSystem.
URI Parameters
- gradeSystemId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "GradeSystem",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this grade system, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this grade system, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this grade system for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeSystem.GradeSystem:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this grade system",
"linked": false
},
"description": {
"description": "The description of this grade system.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeSystem.GradeSystem:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this grade system",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this grade system. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this grade system. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"basedOnGrades": {
"description": "Tests if the grading system is based on grades.",
"type": "boolean",
"elementId": "grading.GradeSystem:basedOnGrades@dxtera.org",
"existingValue": false,
"elementLabel": "Based On Grades",
"instructions": "Enter true or false.",
"linked": false
},
"lowestNumericScore": {
"description": "The lowest number in a numeric grading system.",
"type": "number",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "grading.GradeSystem:lowestNumericScore@dxtera.org",
"existingValue": 3.14,
"elementLabel": "Lowest Numeric Score",
"instructions": "Enter the lowest numeric score of this grade system.",
"linked": false
},
"numericScoreIncrement": {
"description": "The incremental step.",
"type": "number",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "grading.GradeSystem:numericScoreIncrement@dxtera.org",
"existingValue": 3.14,
"elementLabel": "Numeric Score Increment",
"instructions": "Enter the numeric score increment of this grade system.",
"linked": false
},
"highestNumericScore": {
"description": "The highest number in a numeric grading system.",
"type": "number",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "grading.GradeSystem:highestNumericScore@dxtera.org",
"existingValue": 3.14,
"elementLabel": "Highest Numeric Score",
"instructions": "Enter the highest numeric score of this grade system.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "gradeSystem not found" }
/grade-entries
Collection of GradeEntries in a system, federation of systems, or in a default Gradebook.
Get all GradeEntries in the system or default Gradebook.
Create a new GradeEntry in the default Gradebook.
get /grade-entries
Get all GradeEntries in the system or default Gradebook.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "endReason", "grade", "gradebookColumn", "keyResource", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleGradeEntryType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleGradeEntryType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleGradeEntryType%40campusapi.org
- fromDate: (string)
Get all grade-entries from this date inclusive. Use with toDate to define date range query.
Example:
2020-10-03
- toDate: (string)
Get all grade-entries up to this date inclusive. Use with fromDate to define date range query.
Example:
2020-12-18
- gradebookColumnId: (string)
the id string to match a gradebook-column.
Example:
grading.GradebookColumn%3A1120%40base.url
- keyResourceId: (string)
the id string to match a key-resource.
Example:
resource.Resource%3A960%40base.url
- graderId: (string)
Id string to match grader.
Example:
resource.Resource%3A7836%40base.url
- gradebookId: (string)
The id string to match a gradebook
Example:
grading.Gradebook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradeEntry:465@base.url",
"uri": "http://base.url/open/campusapi/grading/gradeEntry/grading.GradeEntry%3A465%40base.url",
"displayName": "Display Name of this GradeEntry",
"description": "The description of this GradeEntry",
"genusTypeId": "type.Type:defaultGradeEntryType@base.url",
"recordTypeIds": [ "type.Type:exampleGradeEntryRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:465@base.url",
"gradebookColumnId": "grading.GradebookColumn:7091@base.url",
"keyResourceId": "resource.Resource:9953@base.url",
"ignoredForCalculations": true,
"gradeId": "grading.Grade:6387@base.url",
"score": 3.14
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /grade-entries
Create a new GradeEntry in the default Gradebook.
Query Parameters
- gradebookColumnId: required(string)
the gradebook-column of this grade-entry.
Example:
grading.GradebookColumn%3A1120%40base.url
- keyResourceId: required(string)
the key-resource of this grade-entry.
Example:
resource.Resource%3A960%40base.url
- genusType: (string)
specify a particular gradeEntry type to create
Example:
type.Type%3AexampleGradeEntryType%40dxtera.org
- recordType: (array of )
specify support for one or more gradeEntry record types
Example:
[ "type.Type%3AexampleGradeEntryRecordType%40campusapi.org", "..." ]
- gradebookId: (string)
specify in which gradebook to create this gradeEntry
Example:
grading.Gradebook%3A8374%40base.url
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradeEntry",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this grade entry, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this grade entry, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this grade entry for display.",
"type": "string"
},
"description": {
"description": "The description of this grade entry.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this grade entry. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this grade entry. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this grade entry.",
"type": "string",
"format": "date-time"
},
"endDate": {
"description": "The ending date of this grade entry.",
"type": "string",
"format": "date-time"
},
"endReasonId": {
"description": "The reason this grade entry ended.",
"type": "string",
"format": "osid-id"
},
"gradebookColumnId": {
"description": "The gradebook column associated with this grade entry.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"keyResourceId": {
"description": "The key resource associated with this grade entry.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"ignoredForCalculations": {
"description": "Tests if this is entry should be ignored in any averaging, scaling or curve calculation.",
"type": "boolean"
},
"gradeId": {
"description": "The grade in this entry if the grading system is based on grades.",
"type": "string",
"format": "osid-id"
},
"score": {
"description": "The score in this entry if the grading system is not based on grades.",
"type": "number"
}
}
}
Example:
{
"displayName": "Display Name of this GradeEntry",
"description": "The description of this GradeEntry",
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:9686@base.url",
"ignoredForCalculations": true,
"gradeId": "grading.Grade:1675@base.url",
"score": 3.14
}
Query the collection of GradeEntries in a system, federation of systems, or in a default gradebook by posting a Query object.
Submit a query using a GradeEntryQuery object.
post /grade-entries/grade-entry-query
Submit a query using a GradeEntryQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "endReason", "grade", "gradebookColumn", "keyResource", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradeEntryQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchEffective": {
"description": "Match effective objects where the current date falls within the start and end dates inclusive. true to match any effective, false to match ineffective",
"type": "boolean"
},
"matchStartDate": {
"description": "Matches temporals whose start date falls in between the given dates inclusive.",
"type": "object",
"properties": {
"start": {
"description": "start of date range",
"type": "string",
"format": "date-time"
},
"end": {
"description": "end of date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true if a positive match, false for negative match",
"type": "boolean"
}
}
},
"matchEndDate": {
"description": "Matches temporals whose end date falls in between the given dates inclusive.",
"type": "object",
"properties": {
"start": {
"description": "start of date range",
"type": "string",
"format": "date-time"
},
"end": {
"description": "end of date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true if a positive match, false for negative match",
"type": "boolean"
}
}
},
"matchEndReasonIds": {
"description": "List of end reason Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"stateId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"endReasonQueries": {
"description": "process.StateQueries to match end reason state. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyEndReason": {
"description": "Match end reasons with any value. true to match GradeEntries with any end reason, false to match GradeEntries with no end reason",
"type": "boolean"
},
"matchGradebookColumnIds": {
"description": "List of gradebookColumn Ids for this query to match grade entry that have a related gradebookColumn.",
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"gradebookColumnQueries": {
"description": "GradebookColumnQueries to match the gradebookColumn. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchKeyResourceIds": {
"description": "List of keyResource Ids for this query to match grade entry that have a related keyResource.",
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"keyResourceQueries": {
"description": "KeyResourceQueries to match the keyResource. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchIgnoredForCalculations": {
"description": "Match boolean value for ignoredForCalculations.",
"type": "object",
"properties": {
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
},
"matchGradeIds": {
"description": "List of Grade Ids for this query to match grade.",
"type": "array",
"items": {
"type": "object",
"properties": {
"gradeId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"gradeQueries": {
"description": "grading.GradeQueries to match the Grade. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyGrade": {
"description": "Match grade with any value. true to match GradeEntries with any grade, false to match GradeEntries with no grade",
"type": "boolean"
},
"matchScore": {
"description": "Match Score within the given range inclusive.",
"type": "array",
"items": {
"type": "object",
"properties": {
"from": {
"description": "starting value",
"type": "number"
},
"to": {
"description": "ending value",
"type": "number"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAnyScore": {
"description": "Match scores with any value. true to match GradeEntries with any score, false to match ProgramOfferings with no score",
"type": "boolean"
},
"matchGradebookIds": {
"description": "List of Gradebook Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"gradebookId": {
"description": "Gradebook id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"gradebookQueries": {
"description": "GradebookQueries to match Gradebook. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradeEntry:465@base.url",
"uri": "http://base.url/open/campusapi/grading/gradeEntry/grading.GradeEntry%3A465%40base.url",
"displayName": "Display Name of this GradeEntry",
"description": "The description of this GradeEntry",
"genusTypeId": "type.Type:defaultGradeEntryType@base.url",
"recordTypeIds": [ "type.Type:exampleGradeEntryRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:465@base.url",
"gradebookColumnId": "grading.GradebookColumn:7091@base.url",
"keyResourceId": "resource.Resource:9953@base.url",
"ignoredForCalculations": true,
"gradeId": "grading.Grade:6387@base.url",
"score": 3.14
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a GradeEntry form metadata.
Get form metadata for creating a new GradeEntry.
get /grade-entries/metadata
Get form metadata for creating a new GradeEntry.
Query Parameters
- gradebookColumnId: required(string)
the gradebook-column of this metadatum.
Example:
grading.GradebookColumn%3A1120%40base.url
- keyResourceId: required(string)
the key-resource of this metadatum.
Example:
resource.Resource%3A960%40base.url
- genusType: (string)
specify a particular gradeEntry type to create
Example:
type.Type%3AexampleGradeEntryType%40dxtera.org
- recordType: (array of )
specify support for one or more gradeEntry record types
Example:
[ "type.Type%3AexampleGradeEntryRecordType%40campusapi.org", "..." ]
- gradebookId: (string)
specify in which gradebook to create this gradeEntry
Example:
grading.Gradebook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "GradeEntry",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this grade entry, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this grade entry, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this grade entry for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this grade entry",
"linked": false
},
"description": {
"description": "The description of this grade entry.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this grade entry",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this grade entry. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this grade entry. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this grade entry.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:startDate@base.url",
"existingValue": "2020-10-03T08:00:00.000Z",
"elementLabel": "Start Date",
"instructions": "Enter a starting date for this grade entry",
"linked": false
},
"endDate": {
"description": "The ending date of this grade entry.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:endDate@base.url",
"existingValue": "2020-12-18T17:00:00.000Z",
"elementLabel": "End Date",
"instructions": "Enter an ending date for this grade entry",
"linked": false
},
"endReasonId": {
"description": "The reason this grade entry ended. A process/State object.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:endReason@base.url",
"existingValue": "process.State:1860@base.url",
"elementLabel": "End Reason",
"instructions": "Select the reason this grade entry ended",
"linked": false
},
"ignoredForCalculations": {
"description": "Tests if this is entry should be ignored in any averaging, scaling or curve calculation.",
"type": "boolean",
"elementId": "grading.GradeEntry:ignoredForCalculations@dxtera.org",
"existingValue": false,
"elementLabel": "Ignored For Calculations",
"instructions": "Enter true or false.",
"linked": false
},
"gradeId": {
"description": "The grade in this entry if the grading system is based on grades.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "grading.GradeEntry:grade@dxtera.org",
"existingValue": null,
"elementLabel": "Grade",
"instructions": "Enter the Id of the grade for this grade entry.",
"linked": false
},
"score": {
"description": "The score in this entry if the grading system is not based on grades.",
"type": "number",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "grading.GradeEntry:score@dxtera.org",
"existingValue": 3.14,
"elementLabel": "Score",
"instructions": "Enter the score of this grade entry.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a GradeEntry
Get a particular GradeEntry given its id.
Update a particular GradeEntry given its id.
Delete a particular GradeEntry given its id.
get /grade-entries/{gradeEntryId}
Get a particular GradeEntry given its id.
URI Parameters
- gradeEntryId: required(string)
Query Parameters
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "endReason", "grade", "gradebookColumn", "keyResource", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "grading.GradeEntry:465@base.url",
"uri": "http://base.url/open/campusapi/grading/gradeEntry/grading.GradeEntry%3A465%40base.url",
"displayName": "Display Name of this GradeEntry",
"description": "The description of this GradeEntry",
"genusTypeId": "type.Type:defaultGradeEntryType@base.url",
"recordTypeIds": [ "type.Type:exampleGradeEntryRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:465@base.url",
"gradebookColumnId": "grading.GradebookColumn:7091@base.url",
"keyResourceId": "resource.Resource:9953@base.url",
"ignoredForCalculations": true,
"gradeId": "grading.Grade:6387@base.url",
"score": 3.14
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradeEntry not found" }
put /grade-entries/{gradeEntryId}
Update a particular GradeEntry given its id.
URI Parameters
- gradeEntryId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradeEntry",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this grade entry, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this grade entry, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this grade entry for display.",
"type": "string"
},
"description": {
"description": "The description of this grade entry.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this grade entry. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this grade entry. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this grade entry.",
"type": "string",
"format": "date-time"
},
"endDate": {
"description": "The ending date of this grade entry.",
"type": "string",
"format": "date-time"
},
"endReasonId": {
"description": "The reason this grade entry ended.",
"type": "string",
"format": "osid-id"
},
"gradebookColumnId": {
"description": "The gradebook column associated with this grade entry.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"keyResourceId": {
"description": "The key resource associated with this grade entry.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"ignoredForCalculations": {
"description": "Tests if this is entry should be ignored in any averaging, scaling or curve calculation.",
"type": "boolean"
},
"gradeId": {
"description": "The grade in this entry if the grading system is based on grades.",
"type": "string",
"format": "osid-id"
},
"score": {
"description": "The score in this entry if the grading system is not based on grades.",
"type": "number"
}
}
}
Example:
{
"displayName": "Display Name of this GradeEntry",
"description": "The description of this GradeEntry",
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:9686@base.url",
"ignoredForCalculations": true,
"gradeId": "grading.Grade:1675@base.url",
"score": 3.14
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The GradeEntry has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradeEntry not found" }
delete /grade-entries/{gradeEntryId}
Delete a particular GradeEntry given its id.
URI Parameters
- gradeEntryId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The GradeEntry has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradeEntry not found" }
Entity representing a GradeEntry form metadata for update
Get form metadata for updating an existing GradeEntry.
get /grade-entries/{gradeEntryId}/metadata
Get form metadata for updating an existing GradeEntry.
URI Parameters
- gradeEntryId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "GradeEntry",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this grade entry, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this grade entry, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this grade entry for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this grade entry",
"linked": false
},
"description": {
"description": "The description of this grade entry.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this grade entry",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this grade entry. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this grade entry. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this grade entry.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:startDate@base.url",
"existingValue": "2020-10-03T08:00:00.000Z",
"elementLabel": "Start Date",
"instructions": "Enter a starting date for this grade entry",
"linked": false
},
"endDate": {
"description": "The ending date of this grade entry.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:endDate@base.url",
"existingValue": "2020-12-18T17:00:00.000Z",
"elementLabel": "End Date",
"instructions": "Enter an ending date for this grade entry",
"linked": false
},
"endReasonId": {
"description": "The reason this grade entry ended. A process/State object.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradeEntry.GradeEntry:endReason@base.url",
"existingValue": "process.State:1860@base.url",
"elementLabel": "End Reason",
"instructions": "Select the reason this grade entry ended",
"linked": false
},
"ignoredForCalculations": {
"description": "Tests if this is entry should be ignored in any averaging, scaling or curve calculation.",
"type": "boolean",
"elementId": "grading.GradeEntry:ignoredForCalculations@dxtera.org",
"existingValue": false,
"elementLabel": "Ignored For Calculations",
"instructions": "Enter true or false.",
"linked": false
},
"gradeId": {
"description": "The grade in this entry if the grading system is based on grades.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "grading.GradeEntry:grade@dxtera.org",
"existingValue": null,
"elementLabel": "Grade",
"instructions": "Enter the Id of the grade for this grade entry.",
"linked": false
},
"score": {
"description": "The score in this entry if the grading system is not based on grades.",
"type": "number",
"minimum": null,
"maximum": null,
"units": "",
"default": null,
"enum": [],
"elementId": "grading.GradeEntry:score@dxtera.org",
"existingValue": 3.14,
"elementLabel": "Score",
"instructions": "Enter the score of this grade entry.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "gradeEntry not found" }
/gradebook-columns
Collection of GradebookColumns in a system, federation of systems, or in a default Gradebook.
Get all GradebookColumns in the system or default Gradebook.
Create a new GradebookColumn in the default Gradebook.
get /gradebook-columns
Get all GradebookColumns in the system or default Gradebook.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "gradeSystem", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleGradebookColumnType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleGradebookColumnType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleGradebookColumnType%40campusapi.org
- gradebookId: (string)
The id string to match a gradebook
Example:
grading.Gradebook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradebookColumn:6246@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook_column/grading.GradebookColumn%3A6246%40base.url",
"displayName": "Display Name of this GradebookColumn",
"description": "The description of this GradebookColumn",
"genusTypeId": "type.Type:defaultGradebookColumnType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookColumnRecordType@campusapi.org", "..."],
"gradeSystemId": "grading.GradeSystem:3549@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /gradebook-columns
Create a new GradebookColumn in the default Gradebook.
Query Parameters
- genusType: (string)
specify a particular gradebookColumn type to create
Example:
type.Type%3AexampleGradebookColumnType%40dxtera.org
- recordType: (array of )
specify support for one or more gradebookColumn record types
Example:
[ "type.Type%3AexampleGradebookColumnRecordType%40campusapi.org", "..." ]
- gradebookId: (string)
specify in which gradebook to create this gradebookColumn
Example:
grading.Gradebook%3A8374%40base.url
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradebookColumn",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this gradebook column, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this gradebook column, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this gradebook column for display.",
"type": "string"
},
"description": {
"description": "The description of this gradebook column.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this gradebook column. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this gradebook column. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"gradeSystemId": {
"description": "The GradeSystem in which this grade belongs.",
"type": "string",
"format": "osid-id"
}
}
}
Example:
{
"displayName": "Display Name of this GradebookColumn",
"description": "The description of this GradebookColumn",
"gradeSystemId": "grading.GradeSystem:3633@base.url"
}
Query the collection of GradebookColumns in a system, federation of systems, or in a default gradebook by posting a Query object.
Submit a query using a GradebookColumnQuery object.
post /gradebook-columns/gradebook-column-query
Submit a query using a GradebookColumnQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "gradeSystem", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradebookColumnQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGradeSystemIds": {
"description": "List of GradeSystem Ids for this query to match gradeSystem.",
"type": "array",
"items": {
"type": "object",
"properties": {
"gradeSystemId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"gradeSystemQueries": {
"description": "grading.GradeSystemQueries to match the Grade System. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyGradeSystem": {
"description": "Match grade system with any value. true to match GradebookColumns with any grade system, false to match GradebookColumns with no grade system",
"type": "boolean"
},
"matchGradebookIds": {
"description": "List of Gradebook Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"gradebookId": {
"description": "Gradebook id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"gradebookQueries": {
"description": "GradebookQueries to match Gradebook. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradebookColumn:6246@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook_column/grading.GradebookColumn%3A6246%40base.url",
"displayName": "Display Name of this GradebookColumn",
"description": "The description of this GradebookColumn",
"genusTypeId": "type.Type:defaultGradebookColumnType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookColumnRecordType@campusapi.org", "..."],
"gradeSystemId": "grading.GradeSystem:3549@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a GradebookColumn form metadata.
Get form metadata for creating a new GradebookColumn.
get /gradebook-columns/metadata
Get form metadata for creating a new GradebookColumn.
Query Parameters
- genusType: (string)
specify a particular gradebookColumn type to create
Example:
type.Type%3AexampleGradebookColumnType%40dxtera.org
- recordType: (array of )
specify support for one or more gradebookColumn record types
Example:
[ "type.Type%3AexampleGradebookColumnRecordType%40campusapi.org", "..." ]
- gradebookId: (string)
specify in which gradebook to create this gradebookColumn
Example:
grading.Gradebook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "GradebookColumn",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this gradebook column, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this gradebook column, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this gradebook column for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradebookColumn.GradebookColumn:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this gradebook column",
"linked": false
},
"description": {
"description": "The description of this gradebook column.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradebookColumn.GradebookColumn:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this gradebook column",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this gradebook column. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this gradebook column. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"gradeSystemId": {
"description": "The GradeSystem in which this grade belongs.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "grading.GradebookColumn:gradeSystem@dxtera.org",
"existingValue": null,
"elementLabel": "Grade System",
"instructions": "Enter the Id of the grade system for this gradebook column.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a GradebookColumn
Get a particular GradebookColumn given its id.
Update a particular GradebookColumn given its id.
Delete a particular GradebookColumn given its id.
get /gradebook-columns/{gradebookColumnId}
Get a particular GradebookColumn given its id.
URI Parameters
- gradebookColumnId: required(string)
Query Parameters
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "gradeSystem", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "grading.GradebookColumn:6246@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook_column/grading.GradebookColumn%3A6246%40base.url",
"displayName": "Display Name of this GradebookColumn",
"description": "The description of this GradebookColumn",
"genusTypeId": "type.Type:defaultGradebookColumnType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookColumnRecordType@campusapi.org", "..."],
"gradeSystemId": "grading.GradeSystem:3549@base.url"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradebookColumn not found" }
put /gradebook-columns/{gradebookColumnId}
Update a particular GradebookColumn given its id.
URI Parameters
- gradebookColumnId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradebookColumn",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this gradebook column, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this gradebook column, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this gradebook column for display.",
"type": "string"
},
"description": {
"description": "The description of this gradebook column.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this gradebook column. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this gradebook column. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"gradeSystemId": {
"description": "The GradeSystem in which this grade belongs.",
"type": "string",
"format": "osid-id"
}
}
}
Example:
{
"displayName": "Display Name of this GradebookColumn",
"description": "The description of this GradebookColumn",
"gradeSystemId": "grading.GradeSystem:3633@base.url"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The GradebookColumn has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradebookColumn not found" }
delete /gradebook-columns/{gradebookColumnId}
Delete a particular GradebookColumn given its id.
URI Parameters
- gradebookColumnId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The GradebookColumn has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "GradebookColumn not found" }
Entity representing a GradebookColumn form metadata for update
Get form metadata for updating an existing GradebookColumn.
get /gradebook-columns/{gradebookColumnId}/metadata
Get form metadata for updating an existing GradebookColumn.
URI Parameters
- gradebookColumnId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "GradebookColumn",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this gradebook column, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this gradebook column, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this gradebook column for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradebookColumn.GradebookColumn:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this gradebook column",
"linked": false
},
"description": {
"description": "The description of this gradebook column.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "GradebookColumn.GradebookColumn:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this gradebook column",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this gradebook column. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this gradebook column. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"gradeSystemId": {
"description": "The GradeSystem in which this grade belongs.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "grading.GradebookColumn:gradeSystem@dxtera.org",
"existingValue": null,
"elementLabel": "Grade System",
"instructions": "Enter the Id of the grade system for this gradebook column.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "gradebookColumn not found" }
/gradebooks
Collection of Gradebooks in a system or federation of systems.
Get all Gradebooks.
Create a new Gradebook.
get /gradebooks
Get all Gradebooks.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "provider", "branding", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleGradebookType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleGradebookType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleGradebookType%40campusapi.org
- providerId: (string)
Id string to match provider.
Example:
resource.Resource%3A3007%40demo.dxtera.org
- gradeId: (string)
Get gradebooks mapped to this grade.
Example:
grading.Grade%3A315%40demo.dxtera.org
- gradeSystemId: (string)
Get gradebooks mapped to this grade-system.
Example:
grading.GradeSystem%3A756%40demo.dxtera.org
- gradeEntryId: (string)
Get gradebooks mapped to this grade-entry.
Example:
grading.GradeEntry%3A693%40demo.dxtera.org
- gradebookColumnId: (string)
Get gradebooks mapped to this gradebook-column.
Example:
grading.GradebookColumn%3A1008%40demo.dxtera.org
- gradebookColumnSummaryId: (string)
Get gradebooks mapped to this gradebook-column-summary.
Example:
grading.GradebookColumnSummary%3A1512%40demo.dxtera.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.Gradebook:6819@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook/grading.Gradebook%3A6819%40base.url",
"displayName": "Display Name of this Gradebook",
"description": "The description of this Gradebook",
"genusTypeId": "type.Type:defaultGradebookType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Gradebook@base.url",
"license": "The license that applies to this Gradebook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /gradebooks
Create a new Gradebook.
Query Parameters
- genusType: (string)
specify a particular gradebook type to create
Example:
type.Type%3AexampleGradebookType%40dxtera.org
- recordType: (array of )
specify support for one or more gradebook record types
Example:
[ "type.Type%3AexampleGradebookRecordType%40campusapi.org", "..." ]
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Gradebook",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this gradebook, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this gradebook, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this gradebook for display.",
"type": "string"
},
"description": {
"description": "The description of this gradebook.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this gradebook. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this gradebook. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this gradebook.",
"type": "string",
"format": "osid-id"
},
"brandingIds": {
"description": "The branding of this gradebook. A collection of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id"
}
},
"license": {
"description": "The licensing that applies to this gradebook.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this Gradebook",
"description": "The description of this Gradebook",
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Gradebook@base.url",
"license": "The license that applies to this Gradebook"
}
Query the collection of Gradebooks in a system, federation of systems, or in a default gradebook by posting a Query object.
Submit a query using a GradebookQuery object.
post /gradebooks/gradebook-query
Submit a query using a GradebookQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "GradebookQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchProviderIds": {
"description": "List of provider Ids to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"stateId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"providerQueries": {
"description": "resource.ResourceQuery for provider. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
},
"matchAnyProvider": {
"description": "Match providers with any value. true to match Gradebook with any provider, false to match Gradebook with no provider",
"type": "boolean"
}
},
"matchBrandingIds": {
"description": "List of branding asset Ids to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"stateId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"brandingQueries": {
"description": "repository.AssetQuery for branding. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyBranding": {
"description": "Match brandingss with any value. true to match Gradebook with any branding, false to match Gradebook with no branding",
"type": "boolean"
},
"matchlicenses": {
"description": "List of license strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"license": {
"description": "license to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGradebookIds": {
"description": "List of Gradebook Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"gradebookId": {
"description": "Gradebook id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"gradebookQueries": {
"description": "GradebookQueries to match Gradebook. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.Gradebook:6819@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook/grading.Gradebook%3A6819%40base.url",
"displayName": "Display Name of this Gradebook",
"description": "The description of this Gradebook",
"genusTypeId": "type.Type:defaultGradebookType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Gradebook@base.url",
"license": "The license that applies to this Gradebook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Gradebook form metadata.
Get form metadata for creating a new Gradebook.
get /gradebooks/metadata
Get form metadata for creating a new Gradebook.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Gradebook",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this gradebook, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this gradebook, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this gradebook for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Gradebook.Gradebook:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this gradebook",
"linked": false
},
"description": {
"description": "The description of this gradebook.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Gradebook.Gradebook:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this gradebook",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this gradebook. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this gradebook. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this gradebook.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Gradebook.Gradebook:provider@base.url",
"existingValue": "",
"elementLabel": "Provider",
"instructions": "Enter the provider of this gradebook",
"linked": false
},
"brandingIds": {
"description": "The branding of this gradebook. A list of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id",
"pattern": "",
"enum": []
},
"read-only": false,
"default": [],
"elementId": "Gradebook.Gradebook:branding@base.url",
"existingValue": "",
"elementLabel": "Branding",
"instructions": "Enter the branding images for this gradebook",
"linked": false
},
"license": {
"description": "The licensing that applies to this gradebook.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Gradebook.Gradebook:license@base.url",
"existingValue": "The Existing License",
"elementLabel": "License",
"instructions": "Include a license for this gradebook",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
The root Gradebooks in the Gradebook hierarchy. A node with no parents is an orphan. While all Gradebook Ids are known to the hierarchy, an orphan does not appear in the hierarchy unless explicitly added as a root node or child of another node.
Get all root root-gradebook
get /gradebooks/root-gradebook
Get all root root-gradebook
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.Gradebook:6819@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook/grading.Gradebook%3A6819%40base.url",
"displayName": "Display Name of this Gradebook",
"description": "The description of this Gradebook",
"genusTypeId": "type.Type:defaultGradebookType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Gradebook@base.url",
"license": "The license that applies to this Gradebook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Gradebook
Get a particular Gradebook given its id.
Update a particular Gradebook given its id.
Delete a particular Gradebook given its id.
get /gradebooks/{gradebookId}
Get a particular Gradebook given its id.
URI Parameters
- gradebookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "grading.Gradebook:6819@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook/grading.Gradebook%3A6819%40base.url",
"displayName": "Display Name of this Gradebook",
"description": "The description of this Gradebook",
"genusTypeId": "type.Type:defaultGradebookType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Gradebook@base.url",
"license": "The license that applies to this Gradebook"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Gradebook not found" }
put /gradebooks/{gradebookId}
Update a particular Gradebook given its id.
URI Parameters
- gradebookId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Gradebook",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this gradebook, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this gradebook, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this gradebook for display.",
"type": "string"
},
"description": {
"description": "The description of this gradebook.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this gradebook. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this gradebook. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this gradebook.",
"type": "string",
"format": "osid-id"
},
"brandingIds": {
"description": "The branding of this gradebook. A collection of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id"
}
},
"license": {
"description": "The licensing that applies to this gradebook.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this Gradebook",
"description": "The description of this Gradebook",
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Gradebook@base.url",
"license": "The license that applies to this Gradebook"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Gradebook has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Gradebook not found" }
delete /gradebooks/{gradebookId}
Delete a particular Gradebook given its id.
URI Parameters
- gradebookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Gradebook has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Gradebook not found" }
Entity representing a Gradebook form metadata for update
Get form metadata for updating an existing Gradebook.
get /gradebooks/{gradebookId}/metadata
Get form metadata for updating an existing Gradebook.
URI Parameters
- gradebookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Gradebook",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this gradebook, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this gradebook, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this gradebook for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Gradebook.Gradebook:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this gradebook",
"linked": false
},
"description": {
"description": "The description of this gradebook.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Gradebook.Gradebook:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this gradebook",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this gradebook. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this gradebook. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this gradebook.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Gradebook.Gradebook:provider@base.url",
"existingValue": "",
"elementLabel": "Provider",
"instructions": "Enter the provider of this gradebook",
"linked": false
},
"brandingIds": {
"description": "The branding of this gradebook. A list of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id",
"pattern": "",
"enum": []
},
"read-only": false,
"default": [],
"elementId": "Gradebook.Gradebook:branding@base.url",
"existingValue": "",
"elementLabel": "Branding",
"instructions": "Enter the branding images for this gradebook",
"linked": false
},
"license": {
"description": "The licensing that applies to this gradebook.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Gradebook.Gradebook:license@base.url",
"existingValue": "The Existing License",
"elementLabel": "License",
"instructions": "Include a license for this gradebook",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "gradebook not found" }
Get child Gradebooks for the given Gradebook in the hierarchy.
get /gradebooks/{gradebookId}/children
Get child Gradebooks for the given Gradebook in the hierarchy.
URI Parameters
- gradebookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.Gradebook:6819@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook/grading.Gradebook%3A6819%40base.url",
"displayName": "Display Name of this Gradebook",
"description": "The description of this Gradebook",
"genusTypeId": "type.Type:defaultGradebookType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Gradebook@base.url",
"license": "The license that applies to this Gradebook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add Gradebook as child of the given Gradebook in the hierarchy.
Remove the given Gradebook as a child of the given Gradebook in the hierarchy.
put /gradebooks/{gradebookId}/children/{childId}
Add Gradebook as child of the given Gradebook in the hierarchy.
URI Parameters
- gradebookId: required(string)
- childId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The child Gradebook has been added to the hierarchy" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "gradebook not found" }
delete /gradebooks/{gradebookId}/children/{childId}
Remove the given Gradebook as a child of the given Gradebook in the hierarchy.
URI Parameters
- gradebookId: required(string)
- childId: required(string)
Get parent Gradebooks for the given Gradebook in the hierarchy.
get /gradebooks/{gradebookId}/parents
Get parent Gradebooks for the given Gradebook in the hierarchy.
URI Parameters
- gradebookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.Gradebook:6819@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook/grading.Gradebook%3A6819%40base.url",
"displayName": "Display Name of this Gradebook",
"description": "The description of this Gradebook",
"genusTypeId": "type.Type:defaultGradebookType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:Gradebook@base.url",
"license": "The license that applies to this Gradebook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Get all GradeSystems in this Gradebook
get /gradebooks/{gradebookId}/grade-systems
Get all GradeSystems in this Gradebook
URI Parameters
- gradebookId: required(string)
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleGradeSystemType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleGradeSystemType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleGradeSystemType%40campusapi.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradeSystem:6220@base.url",
"uri": "http://base.url/open/campusapi/grading/grade_system/grading.GradeSystem%3A6220%40base.url",
"displayName": "Display Name of this GradeSystem",
"description": "The description of this GradeSystem",
"genusTypeId": "type.Type:defaultGradeSystemType@base.url",
"recordTypeIds": [ "type.Type:exampleGradeSystemRecordType@campusapi.org", "..."],
"basedOnGrades": true,
"lowestNumericScore": 3.14,
"numericScoreIncrement": 3.14,
"highestNumericScore": 3.14
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given GradeSystem to this Gradebook
Remove the given GradeSystem from the Gradebook.
put /gradebooks/{gradebookId}/grade-systems/{gradeSystemId}
Add the given GradeSystem to this Gradebook
URI Parameters
- gradebookId: required(string)
- gradeSystemId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "GradeSystem has been added to Gradebook" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "GradeSystem not found" }
delete /gradebooks/{gradebookId}/grade-systems/{gradeSystemId}
Remove the given GradeSystem from the Gradebook.
URI Parameters
- gradebookId: required(string)
- gradeSystemId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "GradeSystem has been removed" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "GradeSystem not found" }
Get all GradeEntries in this Gradebook
get /gradebooks/{gradebookId}/grade-entries
Get all GradeEntries in this Gradebook
URI Parameters
- gradebookId: required(string)
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "endReason", "grade", "gradebookColumn", "keyResource", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleGradeEntryType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleGradeEntryType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleGradeEntryType%40campusapi.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradeEntry:465@base.url",
"uri": "http://base.url/open/campusapi/grading/gradeEntry/grading.GradeEntry%3A465%40base.url",
"displayName": "Display Name of this GradeEntry",
"description": "The description of this GradeEntry",
"genusTypeId": "type.Type:defaultGradeEntryType@base.url",
"recordTypeIds": [ "type.Type:exampleGradeEntryRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:465@base.url",
"gradebookColumnId": "grading.GradebookColumn:7091@base.url",
"keyResourceId": "resource.Resource:9953@base.url",
"ignoredForCalculations": true,
"gradeId": "grading.Grade:6387@base.url",
"score": 3.14
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given GradeEntry to this Gradebook
Remove the given GradeEntry from the Gradebook.
put /gradebooks/{gradebookId}/grade-entries/{gradeEntryId}
Add the given GradeEntry to this Gradebook
URI Parameters
- gradebookId: required(string)
- gradeEntryId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "GradeEntry has been added to Gradebook" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "GradeEntry not found" }
delete /gradebooks/{gradebookId}/grade-entries/{gradeEntryId}
Remove the given GradeEntry from the Gradebook.
URI Parameters
- gradebookId: required(string)
- gradeEntryId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "GradeEntry has been removed" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "GradeEntry not found" }
Get all GradebookColumns in this Gradebook
get /gradebooks/{gradebookId}/gradebook-columns
Get all GradebookColumns in this Gradebook
URI Parameters
- gradebookId: required(string)
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "gradeSystem", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleGradebookColumnType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleGradebookColumnType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleGradebookColumnType%40campusapi.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "grading.GradebookColumn:6246@base.url",
"uri": "http://base.url/open/campusapi/grading/gradebook_column/grading.GradebookColumn%3A6246%40base.url",
"displayName": "Display Name of this GradebookColumn",
"description": "The description of this GradebookColumn",
"genusTypeId": "type.Type:defaultGradebookColumnType@base.url",
"recordTypeIds": [ "type.Type:exampleGradebookColumnRecordType@campusapi.org", "..."],
"gradeSystemId": "grading.GradeSystem:3549@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given GradebookColumn to this Gradebook
Remove the given GradebookColumn from the Gradebook.
put /gradebooks/{gradebookId}/gradebook-columns/{gradebookColumnId}
Add the given GradebookColumn to this Gradebook
URI Parameters
- gradebookId: required(string)
- gradebookColumnId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "GradebookColumn has been added to Gradebook" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "GradebookColumn not found" }
delete /gradebooks/{gradebookId}/gradebook-columns/{gradebookColumnId}
Remove the given GradebookColumn from the Gradebook.
URI Parameters
- gradebookId: required(string)
- gradebookColumnId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "GradebookColumn has been removed" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "GradebookColumn not found" }