Global Teach - Services

<back to all web services

GetUser

The following routes are available for this service:
All Verbs/svc/users/{Id}
All Verbs/svc/users
All Verbs/svc/getuser
GET/svc/GetUser
All Verbs/svc/getuser/id/{Id}
All Verbs/svc/getuser/guid/{Guid}
All Verbs/svc/getuser/qn/{DomainName}/{UserName}
GET/svc/GetUser/{Id}

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/GetUser HTTP/1.1 
Host: www.magentatelekom-academy.at 
Content-Type: application/json
Content-Length: length

{"id":0,"userName":"String","domainName":"String","guid":"String","options":"String","options2":[{"key":"String","value":"String"}]}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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