Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

esimerkkivastaus:

Code Block
[
  {
	"id":2044,
    "name": "Algoritmit, ITK-testistä",
    "course": {
      "code": "811386A",
      "name": "Algoritmit",
      "credits": 5.0,
      "gradeScale": null,
      "organisation": {
        "code": "123",
        "name": "Demo-Yliopisto",
        "nameAbbreviation": "DY"
      }
    },
    "examType": {
      "type": "PARTIAL"
    },
    "examOwners": [
      {
        "email": "suvi.opettaja@funet.fi",
        "lastName": "Opettaja",
        "firstName": "Suvi"
      }
    ],
    "enrollInstruction": "Lue tenttiin hyvin",
    "examActiveStartDate": 1428267600000,
    "examActiveEndDate": 1598907599999,
    "duration": 110,
    "gradeScale": {
      "description": "APPROVED_REJECTED",
      "externalRef": null,
      "displayName": null
    },
    "examLanguages": [
      {
        "code": "en",
        "name": "Englanti"
      },
      {
        "code": "fi",
        "name": "Suomi"
      }
    ]
  },
  {	
	"id":2024,
    "name": "20.1.17 Pasin 1. tentti",
    "course": {
      "code": "2124806",
      "name": "Kvalitatiivisten tutkimusten lukeminen ja tulkinta",
      "credits": 2.0,
      "gradeScale": {
        "description": "OTHER",
        "externalRef": 11,
        "displayName": "HYL-HYV"
      },
      "organisation": {
        "code": null,
        "name": "Itä-Suomen yliopisto",
        "nameAbbreviation": null
      }
    },
    "examType": {
      "type": "FINAL"
    },
    "examOwners": [
      {
        "email": "opettaja2@funet.fi",
        "lastName": "Opettaja2",
        "firstName": "Ope"
      },
      {
        "email": "opettaja3@funet.fi",
        "lastName": "Opettaja3",
        "firstName": "Ope3"
      }
    ],
    "enrollInstruction": "dsgdg",
    "examActiveStartDate": 1484870400000,
    "examActiveEndDate": 1548107999999,
    "duration": 45,
    "gradeScale": {
      "description": "ZERO_TO_FIVE",
      "externalRef": null,
      "displayName": null
    },
    "examLanguages": [
      {
        "code": "fi",
        "name": "Suomi"
      },
      {
        "code": "en",
        "name": "Englanti"
      }
    ]
  }
]

...