Global Teach - Services

<back to all web services

SynchLocalData

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: SynchLocalData

<?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>

<SynchLocalData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Mobile">
  <LessonStates xmlns:d2p1="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Types">
    <d2p1:LessonState>
      <d2p1:AttemptNo>0</d2p1:AttemptNo>
      <d2p1:CompletionStatus>String</d2p1:CompletionStatus>
      <d2p1:EndTime>String</d2p1:EndTime>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:LessonId>0</d2p1:LessonId>
      <d2p1:Score>0</d2p1:Score>
      <d2p1:StartTime>String</d2p1:StartTime>
      <d2p1:SuccessStatus>String</d2p1:SuccessStatus>
      <d2p1:SuspendData>String</d2p1:SuspendData>
      <d2p1:SynchTime>String</d2p1:SynchTime>
    </d2p1:LessonState>
  </LessonStates>
  <Settings>String</Settings>
</SynchLocalData>

    </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>

<SynchLocalDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Mobile">
  <LessonStates xmlns:d2p1="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Types">
    <d2p1:LessonState>
      <d2p1:AttemptNo>0</d2p1:AttemptNo>
      <d2p1:CompletionStatus>String</d2p1:CompletionStatus>
      <d2p1:EndTime>String</d2p1:EndTime>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:LessonId>0</d2p1:LessonId>
      <d2p1:Score>0</d2p1:Score>
      <d2p1:StartTime>String</d2p1:StartTime>
      <d2p1:SuccessStatus>String</d2p1:SuccessStatus>
      <d2p1:SuspendData>String</d2p1:SuspendData>
      <d2p1:SynchTime>String</d2p1:SynchTime>
    </d2p1:LessonState>
  </LessonStates>
  <Settings>String</Settings>
  <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>
</SynchLocalDataResponse>

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