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

HTTP + XML

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

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

<GetUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel">
  <DomainName>String</DomainName>
  <Guid>String</Guid>
  <Id>0</Id>
  <Options>String</Options>
  <Options2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>String</d2p1:key>
      <d2p1:value>String</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </Options2>
  <UserName>String</UserName>
</GetUser>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Types">
  <AdditionalInfos>
    <AdditionalInfo>
      <Name>String</Name>
      <Value>String</Value>
    </AdditionalInfo>
  </AdditionalInfos>
  <Attributes>
    <Attribute>
      <AttributeMetadataId>0</AttributeMetadataId>
      <DoubleValue>0</DoubleValue>
      <Id>0</Id>
      <IntegerValue>0</IntegerValue>
      <Name>String</Name>
      <Ordinal>0</Ordinal>
      <Source>String</Source>
      <Value>String</Value>
    </Attribute>
  </Attributes>
  <Contacts>
    <Contact>
      <Title>String</Title>
      <Type>String</Type>
      <Value>String</Value>
    </Contact>
  </Contacts>
  <Department>String</Department>
  <DisplayName>String String</DisplayName>
  <DomainId>0</DomainId>
  <DomainName>String</DomainName>
  <Email>String</Email>
  <FirstName>String</FirstName>
  <Groups>
    <Group>
      <Id>0</Id>
      <Name>String</Name>
      <QualifiedName>String</QualifiedName>
      <Type>String</Type>
    </Group>
  </Groups>
  <Guid>String</Guid>
  <Id>0</Id>
  <LastName>String</LastName>
  <Name>String</Name>
  <QualifiedName>String</QualifiedName>
  <Skills>
    <UserSkill>
      <Acquired>String</Acquired>
      <Expires>String</Expires>
      <Id>0</Id>
      <LevelTitle>String</LevelTitle>
      <LevelValue>0</LevelValue>
      <ReasonForAssignment>String</ReasonForAssignment>
      <Sid>String</Sid>
      <Title>String</Title>
    </UserSkill>
  </Skills>
  <UserImageData>String</UserImageData>
</User>