| Required role: | MueApi |
| GET | /muelev/skoleinfo/fag | Hent informationer om de fag der findes. | |
|---|---|---|---|
| GET | /muelev/skoleinfo/fag/{InstitutionsKode} | Hent informationer om de fag der findes. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| InstitutionsKode | path | string | Yes | Institutionskode til afgrænsning af resultatet |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Fag | form | IEnumerable<FagResponseDto> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| Guid | form | Guid | No | |
| Navn | form | string | No | |
| Fagforkortelse | form | string | No | |
| InstitutionId | form | int? | No | |
| FagEjer | form | string | No | |
| FagType | form | FagType | No |
| Non |
| Ukendt |
| Obligatorisk |
| Valgfag |
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.
GET /muelev/skoleinfo/fag HTTP/1.1 Host: api.minuddannelse.net Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"fag":null}