Skip to main content
PATCH
Csharp (SDK)

Authorizations

Client-ID
string
header
required
Client-Secret
string
header
required

Path Parameters

id
string<uuid>
required

The unique identifier of the GradeUpperSecondary to update

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json

Request body

includeOnFinalGrade
boolean
required

Whether this course grade should be included when calculating the student's final grade certificate.

Example:

true

external
object

ExternalRequest is the External-object used on Create and Update operations. Only SourceID can be set — the Source field is derived from the API key.

Example:
languageCode
string | null

The language code for the grade, used when the course is taught in a specific language.

Examples:

"SV"

null

teacher1EmployeeID
string<uuid> | null

The ID of the primary teacher responsible for the grade. Must reference an Employee who has an active placement at the school referenced by SchoolID.

Examples:

"123e4567-e89b-12d3-a456-426614174000"

null

teacher2EmployeeID
string<uuid> | null

The ID of the secondary teacher responsible for the grade. Must reference an Employee who has an active placement at the school referenced by SchoolID.

Examples:

"123e4567-e89b-12d3-a456-426614174000"

null

grade
enum<string> | null

The grade awarded to the student.

Available options:
A,
B,
C,
D,
E,
F,
MISSING
Example:

"A"

gradeDate
string<date> | null

The date the grade was awarded.

Examples:

"2025-01-15"

null

gradeComment
string | null

A comment about the grade from the teacher.

Examples:

"Eleven har visat goda kunskaper i algebra."

null

extent
enum<string> | null

The extent of the course for this student.

Available options:
Normal,
Extended,
Reduced
Example:

"Normal"

schoolYear
enum<string> | null

The school year of the student at the time the grade was awarded.

Available options:
1,
2,
3
Example:

"2"

section
enum<string> | null

The section/type of the course in the student's study plan.

Available options:
General,
Program,
Orientation,
Specialization,
Individual,
Project,
Elementary
Example:

"Program"

teacherComment
string | null

A comment from the teacher about the student's performance.

Examples:

"Eleven deltar aktivt och visar stort engagemang."

null

programTitle
string | null

The title of the program this course belongs to. Used to associate the course with a specific educational program.

Examples:

"Teknikprogrammet"

null

startDate
string<date> | null

The date the student started the course.

Examples:

"2024-08-19"

null

endDate
string<date> | null

The date the student finished the course.

Examples:

"2025-01-17"

null

Response

Response for GradeUpperSecondary Update operation - returns the updated GradeUpperSecondary

GradeUpperSecondary represents a grade awarded to a student in upper secondary school (Swedish: gymnasieskola). Grades are scoped to the organization of the API key used. The CourseCode field uses the national course code as defined by the Swedish school authorities (e.g. "MATMAT01a").

id
string<uuid>
required

Unique identifier for the GradeUpperSecondary

Example:

"123e4567-e89b-12d3-a456-426614174000"

studentID
string<uuid>
required

The ID of the student the grade belongs to. Must reference a student within the organization who has an active placement at the school referenced by SchoolID.

Example:

"123e4567-e89b-12d3-a456-426614174000"

schoolID
string<uuid>
required

The ID of the school where the student received the grade. Must reference a school within the organization.

Example:

"123e4567-e89b-12d3-a456-426614174000"

courseCode
string
required

The national course code as defined by the Swedish school authorities (e.g. "MATMAT01a" for Mathematics 1a).

Example:

"MATMAT01a"

includeOnFinalGrade
boolean
required

Whether this course grade should be included when calculating the student's final grade certificate.

Example:

true

meta
object

Metadata information for the GradeUpperSecondary

Example:
external
object | null

External is a reusable object that can be used to store external information about the grade from another system, used for third-party integration tracking.

Example:
languageCode
string | null

The language code for the grade, used when the course is taught in a specific language.

Examples:

"SV"

null

teacher1EmployeeID
string<uuid> | null

The ID of the primary teacher responsible for the grade. Must reference an Employee who has an active placement at the school referenced by SchoolID.

Examples:

"123e4567-e89b-12d3-a456-426614174000"

null

teacher2EmployeeID
string<uuid> | null

The ID of the secondary teacher responsible for the grade. Must reference an Employee who has an active placement at the school referenced by SchoolID.

Examples:

"123e4567-e89b-12d3-a456-426614174000"

null

grade
enum<string> | null

The grade awarded to the student.

Available options:
A,
B,
C,
D,
E,
F,
MISSING
Example:

"A"

gradeDate
string<date> | null

The date the grade was awarded.

Examples:

"2025-01-15"

null

gradeComment
string | null

A comment about the grade from the teacher.

Examples:

"Eleven har visat goda kunskaper i algebra."

null

extent
enum<string> | null

The extent of the course for this student.

Available options:
Normal,
Extended,
Reduced
Example:

"Normal"

schoolYear
enum<string> | null

The school year of the student at the time the grade was awarded.

Available options:
1,
2,
3
Example:

"2"

section
enum<string> | null

The section/type of the course in the student's study plan.

Available options:
General,
Program,
Orientation,
Specialization,
Individual,
Project,
Elementary
Example:

"Program"

teacherComment
string | null

A comment from the teacher about the student's performance.

Examples:

"Eleven deltar aktivt och visar stort engagemang."

null

programTitle
string | null

The title of the program this course belongs to. Used to associate the course with a specific educational program.

Examples:

"Teknikprogrammet"

null

startDate
string<date> | null

The date the student started the course.

Examples:

"2024-08-19"

null

endDate
string<date> | null

The date the student finished the course.

Examples:

"2025-01-17"

null