Skip to content

Draft: Organizercheck

Marwin Lebensky requested to merge organizercheck into master

Ein paar Parameter möchte ich nicht mehr berücksichtigen

  • departmentID -> organizationID [Umbenannt]
  • programID -> categoryID [Umbenannt]
  • poolID -> groupID [Umbenannt]
  • subjectID -> eventID [Umbenannt]

Routen

categoryOptions

https://www.thm.de/organizer/?option=com_organizer&view=categoryOptions&format=json

  • value | value == categoryID
  • text
  • disable (not in use)

category_units

https://www.thm.de/organizer/?option=com_organizer&view=category_units&format=json&categoryID=22

  • id (hat keinen Namen, ist ein int in der Map) == vermutlich groupID
  • name (group-Ebene)
  • events (group-Ebene)
    • id (events-Ebene) == vermutlich eventID
    • name (events-Ebene)
    • units (events-Ebene)
      • id (units-Ebene) == vermutlich unitID
      • comment (units-Ebene)
      • method (units-Ebene)

instances

https://www.thm.de/organizer/?option=com_organizer&view=instances&format=json&date=2021-11-23&unitIDs=67647

  • attended: 0, (not in use)
  • blockID: "38061", (not in use)
  • bookingID: null, (not in use)
  • bookmarked: false, (not in use)
  • busy: false, (not in use)
  • campusID: null, (not in use)
  • capacity: 0, (not in use)
  • code: "",
  • comment: "alle Gruppen",
  • courseID: null, (not in use)
  • current: 0, (not in use)
  • date: "2021-11-26",
  • deadline: "0", (not in use)
  • description: null, (not in use)
  • endTime: "09:30",
  • eventID: "2423",
  • fee: "0", (not in use)
  • fullName: "BWL & Inform.Syst. 1",
  • gridID: "1", (not in use)
  • instanceID: 770102,
  • instanceStatus: "", (not in use)
  • instanceStatusDate: "2021-11-19 12:05:07", (not in use)
  • interested: 60, (not in use)
  • method: "Vorlesung",
  • methodCode: "VRL",
  • methodID: "21",
  • name: "BWL & Inform.Syst. 1",
  • organization: "FB 06 MNI",
  • organizationID: "14",
  • registered: false, (not in use)
  • registrationType: null, (not in use)
  • resources: {
    • 71: {
    • assocID: "931476",
    • code: "DOZ",
    • person: "Wagenknecht, A.",
    • role: "Lehrende",
    • roleID: "1",
    • status: "", (not in use)
    • statusDate: "2021-11-19 12:05:07", (not in use)
    • groups: {
    • 61: {
    • code: "SMS.1", (not in use)
    • fullName: "Social Media Systems, Orientierungsphase, 1.Semester", (not in use)
    • group: "Orientierungsphase, 1.Semester", (not in use)
    • status: "", (not in use)
    • statusDate: "2021-11-19 12:05:07"
  • rooms: {
    • 841: {
    • campus: "", (not in use)
    • location: "", (not in use)
    • room: "ONLINE",
    • status: "", (not in use)
    • statusDate: "2021-11-19 12:05:07", (not in use)
    • virtual: "1" (not in use)
  • startTime: "08:00",
  • subjectID: null, (not in use)
  • subjectNo: "EB1000",
  • termID: "15", (not in use)
  • unitID: "67647",
  • unitStatus: "", (not in use)
  • unitStatusDate: "2021-11-19 12:05:07"

Felder-Analyze

departmentID -> organizationID [Umbenannt]

  • ODepartment -> keine Auswirkung, nur Klassenname + o_department.g.dart (generierte Datei)
  • OSubjectDetails / o_subject_details.dart -> Feld departmentID auch in o_subject_details.g.dart, wird aber nicht verwendet. Cleanup nötig, aber nicht kritisch
  • OSubjectDetails wird derzeit nicht verwendet.
  • organization und organizationID wird bei der Route instances verwendet.

programID -> categoryID [Umbenannt]

  • Aufruf der Route category_units erfolg bereits mit dem Parameter categoryID=<int>
  • Klasse OProgram hat das Feld id, wir verwenden value für die id vom JSON aus der View categoryOptions

poolID -> groupID [Umbenannt]

  • poolID wird nicht im Zusammenhang mit den Routen verwendet

subjectID -> eventID [Umbenannt]

  • subjectID wird in vielen Klassen verwendet: OSubject, OLesson, OElement etc.
  • subjectID wird in organizer_instance_functions.dart mit eventID befüllt
  • subjectNo: wird jedoch noch bei uns bei der view instances verwendet
Edited by Marwin Lebensky

Merge request reports