Global Teach - Services

<back to all web services

PrincipalRequest

The following routes are available for this service:
All Verbs/svc/principals/{Id}
All Verbs/svc/principals
GET/svc/PrincipalRequest
GET/svc/PrincipalRequest/{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/PrincipalRequest HTTP/1.1 
Host: www.magentatelekom-academy.at 
Content-Type: application/xml
Content-Length: length

<PrincipalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel">
  <DomainName>String</DomainName>
  <GroupType>String</GroupType>
  <Id>0</Id>
  <Name>String</Name>
  <ShowGlobal>false</ShowGlobal>
</PrincipalRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<Principal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Types">
  <DomainName>String</DomainName>
  <FirstName>String</FirstName>
  <Guid>String</Guid>
  <Id>0</Id>
  <LastName>String</LastName>
  <Name>String</Name>
  <QualifiedName>String</QualifiedName>
  <Type>String</Type>
</Principal>