| Required role: | MueApi |
| POST | /muelev/elevstamdata/historik |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| KommuneKode | body | int? | No | Hent historik på elever i kommunen |
| InstitutionsKode | body | string | No | Hent historik på elever på skolen |
| PersonGuids | body | List<Guid> | No | Unik personidentifikation. Angives, hvis der kun ønskes data for enkelte personer |
| InkluderCprNumre | body | bool | No | Personnumre medtages |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Historik | form | List<HistorikDto> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PersonGuid | form | Guid | No | |
| InstitutionsKommunekode | form | string | No | |
| InstitutionsKommune | form | string | No | |
| Institutionskode | form | string | No | |
| InstitutionsNavn | form | string | No | |
| Startdato | form | DateTime | No | |
| Slutdato | form | DateTime? | No | |
| Klassebetegnelse | form | string | No | |
| KlassetypeKode | form | int? | No | |
| Klassetype | form | string | No | |
| Elevniveau | form | string | No | |
| ErAktiv | form | bool | No | |
| GroupId | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /muelev/elevstamdata/historik HTTP/1.1
Host: api.minuddannelse.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"kommuneKode":0,"institutionsKode":"String","personGuids":["00000000000000000000000000000000"],"inkluderCprNumre":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"historik":[{"personGuid":"00000000000000000000000000000000","institutionsKommunekode":"String","institutionsKommune":"String","institutionskode":"String","institutionsNavn":"String","startdato":"\/Date(-62135596800000-0000)\/","slutdato":"\/Date(-62135596800000-0000)\/","klassebetegnelse":"String","klassetypeKode":0,"klassetype":"String","elevniveau":"String","erAktiv":false,"groupId":"String"}]}