Kréta Icon
Dokumentáció

Csoportok lekérése

Kérés a szervertől

GEThttps://kretadktapi.e-kreta.hu/dktapi/intezmenyek/tanulok/orak/oraifeladatok/groupok/{groupId}

HEADERapiKey = 21ff6c25-d1da-4a68-a811-c881a6057463 (opcionális)

HEADERAccept-Language = hu-HU (opcionális)

HEADERAuthorization = Bearer xxxxxxxxxx (Bearer tokened)

Válasz a szervertől

[
	{
		"csatolasEngedelyezesTipusId": 0,
		"csoportId": 0,
		"osztalyId": 0,
		"osztalyNev": "xxxxxxxxxx",
		"letrehozasIdeje": "xxxxxxxxxx",
		"alkalmazottId": 0,
		"groupId": "xxxxxxxxxx",
		"id": 0,
		"idotartamPerc": 0,
		"oraDatum": "xxxxxxxxxx",
		"oraszam": 0,
		"oraIdopont": "xxxxxxxxxx",
		"pontszam": 0.0,
		"tantargyKategoriaId": "xxxxxxxxxx",
		"tantargyId": 0,
		"tantargyNev": "xxxxxxxxxx",
		"beadandoTipusId": 0,
		"alkalmazottNev": "xxxxxxxxxx",
		"szoveg": "xxxxxxxxxx",
		"cim": "xxxxxxxxxx",
		"csatolasEngedelyezesTipusId": "xxxxxxxxxx"
	},
	...
]

Structure: List<Classwork>

C# class file: Classwork.cs

Field name Variable name Variable type
csatolasEngedelyezesTipusId allowToAttachFileTypeId long
csoportId classGroupId long
osztalyId classId long
osztalyNev className string
letrehozasIdeje creationTimeAsString string
alkalmazottId employeeId long
groupId groupId string
id id long
idotartamPerc lengthInMinutes int
oraDatum lessonDateAsString string
oraszam lessonNumber long
oraIdopont lessonTimeAsString string
pontszam score double
tantargyKategoriaId subjectCategoryUid string
tantargyId subjectId long
tantargyNev subjectName string
beadandoTipusId taskTypeId long
alkalmazottNev teacherName string
szoveg text string
cim title string
egyediId uid string

cURL:

curl "https://kretadktapi.e-kreta.hu/dktapi/intezmenyek/tanulok/orak/oraifeladatok/groupok/{groupId}" -H "apiKey: 21ff6c25-d1da-4a68-a811-c881a6057463" -H "Accept-Language: hu-HU" --oauth2-bearer "{accessToken}"