Skip to main content
GET
/
upper-secondary-grade
List UpperSecondaryGrades
curl --request GET \
  --url https://api.meitner.se/data-export/v1/upper-secondary-grade \
  --header 'Client-ID: <api-key>' \
  --header 'Client-Secret: <api-key>'
{
  "data": [
    {
      "school": {
        "id": "12345678-1234-1234-1234-123456789012",
        "displayName": "Meitner Grundskola"
      },
      "student": {
        "id": "12345678-1234-1234-1234-123456789012",
        "identityNumber": "20000101-1234",
        "firstName": "John",
        "lastName": "Doe",
        "dateOfBirth": "2000-01-01",
        "gender": "Male",
        "schoolType": "GR",
        "schoolYear": "9",
        "class": "Klass 9A"
      },
      "subject": {
        "title": "Matematik",
        "code": "MAT"
      },
      "course": {
        "title": "Matematik 2b",
        "code": "MATMAT02B"
      },
      "grade": "A",
      "gradeDate": "2024-01-01",
      "schoolYear": "9",
      "languageCode": "DEU",
      "startDate": "2024-01-01",
      "endDate": "2024-01-01",
      "section": "General",
      "programDisplayName": "Program 1",
      "programTemplateTitle": "Program 1",
      "orientationTitle": "Orientation 1",
      "orientationCode": "ORI1"
    }
  ],
  "pagination": {
    "offset": 0,
    "limit": 1,
    "total": 100
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.meitner.se/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

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

Query Parameters

limit
integer
default:50

The maximum number of UpperSecondaryGrades to return (default: 50) when listing UpperSecondaryGrades

Example:

1

offset
integer
default:0

The number of UpperSecondaryGrades to skip before starting to return results (default: 0) when listing UpperSecondaryGrades

Example:

0

Response

Response for UpperSecondaryGrade List operation - returns a paginated list of UpperSecondaryGrade

data
object[]

Array of UpperSecondaryGrade objects

Example:
[
  {
    "school": {
      "id": "12345678-1234-1234-1234-123456789012",
      "displayName": "Meitner Grundskola"
    },
    "student": {
      "id": "12345678-1234-1234-1234-123456789012",
      "identityNumber": "20000101-1234",
      "firstName": "John",
      "lastName": "Doe",
      "dateOfBirth": "2000-01-01",
      "gender": "Male",
      "schoolType": "GR",
      "schoolYear": "9",
      "class": "Klass 9A"
    },
    "subject": { "title": "Matematik", "code": "MAT" },
    "course": {
      "title": "Matematik 2b",
      "code": "MATMAT02B"
    },
    "grade": "A",
    "gradeDate": "2024-01-01",
    "schoolYear": "9",
    "languageCode": "DEU",
    "startDate": "2024-01-01",
    "endDate": "2024-01-01",
    "section": "General",
    "programDisplayName": "Program 1",
    "programTemplateTitle": "Program 1",
    "orientationTitle": "Orientation 1",
    "orientationCode": "ORI1"
  }
]
pagination
object

Pagination information

Example:
{ "offset": 0, "limit": 1, "total": 100 }