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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetUserLessonUsage HTTP/1.1 
Host: www.magentatelekom-academy.at 
Content-Type: application/json
Content-Length: length

{"userId":0,"itemId":0,"includeSuspendData":false,"includeOnlyMobileLessons":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"lessonId":0,"userId":0,"sid":"String","title":"String","type":0,"lessonStatus":"String","lessonScore":0,"attemptCount":0,"firstUsed":"0001-01-01T00:00:00.0000000","lastUsed":"0001-01-01T00:00:00.0000000","timeUsed":0,"classTitle":"String","registrationStatus":0,"startDate":"0001-01-01T00:00:00.0000000","endDate":"0001-01-01T00:00:00.0000000","rating":0,"suspendData":"String","lessonLocation":"String"}]