| Required role: | Aula | Requires any of the roles: | Forlag, Trivsel, Aula, Skemaprovider, Skemasubscriber, Stamdataprovider, Elevflytning, MueApi |
| All Verbs | /aula/redirect | ||
|---|---|---|---|
| All Verbs | /aula/redirect/{InstitutionSegment} | ||
| All Verbs | /aula/redirect/{InstitutionSegment}/{RedirectUrlAllSegments*} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RedirectUrl | query | string | No | |
| RedirectUrlAllSegments | path | string | No | |
| InstitutionSegment | path | string | No | |
| Institution | query | int? | No | |
| TestException | query | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChildFilter | form | List<string> | No | |
| InstitutionFilter | form | List<string> | No | |
| InstitutionFilterIds | form | List<int> | No | |
| Placement | form | string | No | |
| SessionUuid | form | string | No | |
| IsMobileApp | form | bool | No | |
| AssuranceLevel | form | int | No | |
| UserProfile | form | string | No | |
| Group | form | string | No | |
| CurrentWeekStartDate | form | DateTime | No | |
| CurrentWeekEndDate | form | DateTime | No | |
| CurrentWeekNumber | form | string | No | |
| WidgetName | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /aula/redirect HTTP/1.1
Host: api.minuddannelse.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
redirectUrl: String,
redirectUrlAllSegments: String,
institutionSegment: String,
institution: 0,
testException: False,
childFilter:
[
String
],
institutionFilter:
[
String
],
institutionFilterIds:
[
0
],
placement: String,
sessionUuid: String,
isMobileApp: False,
assuranceLevel: 0,
userProfile: String,
group: String,
currentWeekStartDate: 0001-01-01,
currentWeekEndDate: 0001-01-01,
currentWeekNumber: String,
widgetName: String
}