Global Teach - Services

<back to all web services

Login

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: www.magentatelekom-academy.at 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: Login

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel">
  <UnsavedLessonStates>
    <SaveLessonStatus>
      <CreateNewAttempt>false</CreateNewAttempt>
      <Duration>0</Duration>
      <LessonId>0</LessonId>
      <LessonLocation>String</LessonLocation>
      <Score>0</Score>
      <Status>String</Status>
      <SuspendData>String</SuspendData>
    </SaveLessonStatus>
  </UnsavedLessonStates>
</Login>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<LoginResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel">
  <GlossarySids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </GlossarySids>
  <IsUserLoggedIn>false</IsUserLoggedIn>
  <LessonUsage xmlns:d2p1="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Types">
    <d2p1:UserLessonUsage>
      <d2p1:AttemptCount>0</d2p1:AttemptCount>
      <d2p1:ClassTitle>String</d2p1:ClassTitle>
      <d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
      <d2p1:FirstUsed>0001-01-01T00:00:00</d2p1:FirstUsed>
      <d2p1:LastUsed>0001-01-01T00:00:00</d2p1:LastUsed>
      <d2p1:LessonId>0</d2p1:LessonId>
      <d2p1:LessonLocation>String</d2p1:LessonLocation>
      <d2p1:LessonScore>0</d2p1:LessonScore>
      <d2p1:LessonStatus>String</d2p1:LessonStatus>
      <d2p1:Rating>0</d2p1:Rating>
      <d2p1:RegistrationStatus>0</d2p1:RegistrationStatus>
      <d2p1:Sid>String</d2p1:Sid>
      <d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
      <d2p1:SuspendData>String</d2p1:SuspendData>
      <d2p1:TimeUsed>0</d2p1:TimeUsed>
      <d2p1:Title>String</d2p1:Title>
      <d2p1:Type>0</d2p1:Type>
      <d2p1:UserId>0</d2p1:UserId>
    </d2p1:UserLessonUsage>
  </LessonUsage>
  <User xmlns:d2p1="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Types">
    <d2p1:AdditionalInfos>
      <d2p1:AdditionalInfo>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:Value>String</d2p1:Value>
      </d2p1:AdditionalInfo>
    </d2p1:AdditionalInfos>
    <d2p1:Attributes>
      <d2p1:Attribute>
        <d2p1:AttributeMetadataId>0</d2p1:AttributeMetadataId>
        <d2p1:DoubleValue>0</d2p1:DoubleValue>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IntegerValue>0</d2p1:IntegerValue>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:Ordinal>0</d2p1:Ordinal>
        <d2p1:Source>String</d2p1:Source>
        <d2p1:Value>String</d2p1:Value>
      </d2p1:Attribute>
    </d2p1:Attributes>
    <d2p1:Contacts>
      <d2p1:Contact>
        <d2p1:Title>String</d2p1:Title>
        <d2p1:Type>String</d2p1:Type>
        <d2p1:Value>String</d2p1:Value>
      </d2p1:Contact>
    </d2p1:Contacts>
    <d2p1:Department>String</d2p1:Department>
    <d2p1:DisplayName>String String</d2p1:DisplayName>
    <d2p1:DomainId>0</d2p1:DomainId>
    <d2p1:DomainName>String</d2p1:DomainName>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:FirstName>String</d2p1:FirstName>
    <d2p1:Groups>
      <d2p1:Group>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:Name>String</d2p1:Name>
        <d2p1:QualifiedName>String</d2p1:QualifiedName>
        <d2p1:Type>String</d2p1:Type>
      </d2p1:Group>
    </d2p1:Groups>
    <d2p1:Guid>String</d2p1:Guid>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:LastName>String</d2p1:LastName>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:QualifiedName>String</d2p1:QualifiedName>
    <d2p1:Skills>
      <d2p1:UserSkill>
        <d2p1:Acquired>String</d2p1:Acquired>
        <d2p1:Expires>String</d2p1:Expires>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:LevelTitle>String</d2p1:LevelTitle>
        <d2p1:LevelValue>0</d2p1:LevelValue>
        <d2p1:ReasonForAssignment>String</d2p1:ReasonForAssignment>
        <d2p1:Sid>String</d2p1:Sid>
        <d2p1:Title>String</d2p1:Title>
      </d2p1:UserSkill>
    </d2p1:Skills>
    <d2p1:UserImageData>String</d2p1:UserImageData>
  </User>
</LoginResponse>

    </soap:Body>
</soap:Envelope>