<back to all web services
FagRequest
MU:Elev fag API
Requires Authentication
| Required role: | MueApi |
The following routes are available for this service:| GET | /muelev/skoleinfo/fag | Hent informationer om de fag der findes. | |
|---|
| GET | /muelev/skoleinfo/fag/{InstitutionsKode} | Hent informationer om de fag der findes. | |
|---|
FagRequest Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| InstitutionsKode | path | string | Yes | Institutionskode til afgrænsning af resultatet |
FagResponse Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Fag | form | IEnumerable<FagResponseDto> | No | |
FagResponseDto Parameters:| 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 | |
FagType Enum:| Non |
| Ukendt |
| Obligatorisk |
| Valgfag |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
HTTP + JSV
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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
}