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.
materials | The container tag for each material returned. |
---|---|
» Id | The material numeric identifier. |
» PackageId | The material package identifier. |
» Version | The material version number. |
» PifSize | Size of the PIF file, in bytes (not always available). |
» Title | The title of the material. |
» Description | The description of the material. |
» Containers | Represents a single LMS course that contains the material and on which the calling user is enrolled. |
»» Id | The course numeric identifier. |
»» Code | The course code. |
»» Name | The 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>