Course Catalog Service


Click here for a complete list of operations.

GetMaterials

Provides the list of the materials that are assigned in the LMS to the calling user.
The name, title and description fields are provided in the better language available depending on the language associated to the calling user.
Output message
materialsThe container tag for each material returned.
» IdThe material numeric identifier.
» PackageIdThe material package identifier.
» VersionThe material version number.
» PifSizeSize of the PIF file, in bytes (not always available).
» TitleThe title of the material.
» DescriptionThe description of the material.
» Containers Represents a single LMS course that contains the material and on which the calling user is enrolled.
»» IdThe course numeric identifier.
»» CodeThe course code.
»» NameThe course name.
»» Description.The course description.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /CourseCatalogService.asmx HTTP/1.1
Host: cen-ws.cned.fr
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.giuntilabs.com/eLex/WS/CourseCatalog/GetMaterials"

<?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>
    <GetMaterialsRequest xmlns="http://www.giuntilabs.com/eLex/WS/Types" />
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
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>
    <GetMaterialsResponse xmlns="http://www.giuntilabs.com/eLex/WS/Types">
      <materials>
        <Id>int</Id>
        <PackageId>string</PackageId>
        <Version>string</Version>
        <PifSize>string</PifSize>
        <Title>string</Title>
        <Description>string</Description>
        <Containers>
          <Id>int</Id>
          <Code>string</Code>
          <Name>string</Name>
          <Description>string</Description>
        </Containers>
        <Containers>
          <Id>int</Id>
          <Code>string</Code>
          <Name>string</Name>
          <Description>string</Description>
        </Containers>
      </materials>
    </GetMaterialsResponse>
  </soap:Body>
</soap:Envelope>