Global Teach - Services

<back to all web services

Login

The following routes are available for this service:
All Verbs/svc/login
POST/svc/Login

To override the Content-type in your clients 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.

POST /jsv/reply/Login HTTP/1.1 
Host: www.magentatelekom-academy.at 
Content-Type: text/jsv
Content-Length: length

{
	unsavedLessonStates: 
	[
		{
			lessonId: 0,
			status: String,
			score: 0,
			duration: 0,
			suspendData: String,
			lessonLocation: String,
			createNewAttempt: False
		}
	]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	user: 
	{
		id: 0,
		guid: String,
		domainName: String,
		domainId: 0,
		department: String,
		name: String,
		qualifiedName: String,
		firstName: String,
		lastName: String,
		email: String,
		displayName: String String,
		userImageData: String,
		attributes: 
		[
			{
				id: 0,
				name: String,
				value: String,
				integerValue: 0,
				doubleValue: 0,
				attributeMetadataId: 0,
				source: String,
				ordinal: 0
			}
		],
		skills: 
		[
			{
				id: 0,
				sid: String,
				title: String,
				levelValue: 0,
				levelTitle: String,
				acquired: String,
				reasonForAssignment: String,
				expires: String
			}
		],
		groups: 
		[
			{
				id: 0,
				name: String,
				qualifiedName: String,
				type: String
			}
		],
		contacts: 
		[
			{
				type: String,
				title: String,
				value: String
			}
		],
		additionalInfos: 
		[
			{
				name: String,
				value: String
			}
		]
	},
	lessonUsage: 
	[
		{
			lessonId: 0,
			userId: 0,
			sid: String,
			title: String,
			type: 0,
			lessonStatus: String,
			lessonScore: 0,
			attemptCount: 0,
			firstUsed: 0001-01-01,
			lastUsed: 0001-01-01,
			timeUsed: 0,
			classTitle: String,
			registrationStatus: 0,
			startDate: 0001-01-01,
			endDate: 0001-01-01,
			rating: 0,
			suspendData: String,
			lessonLocation: String
		}
	],
	glossarySids: 
	[
		String
	],
	isUserLoggedIn: False
}