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 .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/Login HTTP/1.1 
Host: www.magentatelekom-academy.at 
Content-Type: application/json
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: application/json
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-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"}],"glossarySids":["String"],"isUserLoggedIn":false}