| 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 .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 /aula/redirect HTTP/1.1
Host: api.minuddannelse.net
Accept: application/json
Content-Type: application/json
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":"\/Date(-62135596800000-0000)\/","currentWeekEndDate":"\/Date(-62135596800000-0000)\/","currentWeekNumber":"String","widgetName":"String"}