MinUddannelse Api

<back to all web services

GetWidgetRequest

Returns data for the Nova Link QuickView widget

Requires Authentication
Required role:NovaLinkRequires any of the roles:NovaLink, Forlag, Trivsel, Aula, Skemaprovider, Skemasubscriber, Stamdataprovider, Elevflytning, MueApi
The following routes are available for this service:
GET/novalink/widget
GetWidgetResponse Parameters:
NameParameterData TypeRequiredDescription
ContactformContactDtoNo
KuiContactformContactDtoNo
ParentsformList<ParentContactDto>No
JobWishesformstringNo
EducationWishesformstringNo
ActivitiesformList<ActivityDto>No
EventsformList<ActivityDto>No
ContactDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CprformstringNo
NameformstringNo
TitleformstringNo
EmailformstringNo
PhoneformstringNo
LocationformstringNo
CategoryformstringNo
ActivityDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
TypeformstringNo
TitleformstringNo
NameformstringNo
StartTimeformDateTime?No
EndTimeformDateTime?No
LocationformstringNo
CategoryformstringNo
SupplierformstringNo
ContactsformList<ContactDto>No
MeetingDetailsformstringNo
RiskOfCancellingformbool?No

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 /novalink/widget HTTP/1.1 
Host: api.minuddannelse.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	contact: 
	{
		id: 0,
		cpr: String,
		name: String,
		title: String,
		email: String,
		phone: String,
		location: String,
		category: String
	},
	kuiContact: 
	{
		id: 0,
		cpr: String,
		name: String,
		title: String,
		email: String,
		phone: String,
		location: String,
		category: String
	},
	parents: 
	[
		{
			id: 0,
			cpr: String,
			name: String,
			title: String,
			email: String,
			phone: String,
			location: String,
			category: String
		}
	],
	jobWishes: String,
	educationWishes: String,
	activities: 
	[
		{
			id: 0,
			type: String,
			title: String,
			name: String,
			startTime: 0001-01-01,
			endTime: 0001-01-01,
			location: String,
			category: String,
			supplier: String,
			contacts: 
			[
				{
					id: 0,
					cpr: String,
					name: String,
					title: String,
					email: String,
					phone: String,
					location: String,
					category: String
				}
			],
			meetingDetails: String,
			riskOfCancelling: False
		}
	],
	events: 
	[
		{
			id: 0,
			type: String,
			title: String,
			name: String,
			startTime: 0001-01-01,
			endTime: 0001-01-01,
			location: String,
			category: String,
			supplier: String,
			contacts: 
			[
				{
					id: 0,
					cpr: String,
					name: String,
					title: String,
					email: String,
					phone: String,
					location: String,
					category: String
				}
			],
			meetingDetails: String,
			riskOfCancelling: False
		}
	]
}