Global Teach - Services

<back to all web services

GetUserLessonUsage

The following routes are available for this service:
All Verbs/svc/getUserLessonUsage/{UserId}
All Verbs/svc/ulu/{UserId}
GET/svc/GetUserLessonUsage

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/GetUserLessonUsage HTTP/1.1 
Host: www.magentatelekom-academy.at 
Content-Type: text/jsv
Content-Length: length

{
	userId: 0,
	itemId: 0,
	includeSuspendData: False,
	includeOnlyMobileLessons: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		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
	}
]