Required role: | Aula | Requires any of the roles: | NovaLink, 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 .xml suffix or ?format=xml
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/xml
Content-Type: application/xml
Content-Length: length
<AulaRedirectRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ekstern.Api.Service.IO.Aula">
<AssuranceLevel>0</AssuranceLevel>
<ChildFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</ChildFilter>
<CurrentWeekNumber>String</CurrentWeekNumber>
<Group>String</Group>
<InstitutionFilter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</InstitutionFilter>
<InstitutionFilterIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</InstitutionFilterIds>
<IsMobileApp>false</IsMobileApp>
<Placement>String</Placement>
<SessionUuid>String</SessionUuid>
<UserProfile>String</UserProfile>
<WidgetName>String</WidgetName>
<Institution>0</Institution>
<InstitutionSegment>String</InstitutionSegment>
<RedirectUrl>String</RedirectUrl>
<RedirectUrlAllSegments>String</RedirectUrlAllSegments>
<TestException>false</TestException>
</AulaRedirectRequest>