Method: getContent

You will retrieve a list of course that were originally uploaded to the account. Content copied from other courses won't appear in the response. 

Learn how to get a list of all course modules in the Getting a List of Course Modules article. 

Permissions to Run the Request

Account Owner, Account AdministratorsDepartment Administrators, Publishers, or users with a custom role.

Department AdministratorsPublishers, and users with a custom role can only retrieve info regarding users belonging to the departments they manage and their sub-departments.

Request Parameters

Parameter

Type

Description

credentials (required)credentialsRead the description of the Credentials object.

Return Value

After the request has been successfully processed, the system returns an object with the following properties:

Parameter

Type

Description

contentItemarray

An array containing a list of all account courses and information regarding them.

Sample Request

<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns="http://ispringlearn.com/go/services/api/soap">
  <SOAP-ENV:Body>
    <GetContentRequest>
      <credentials>
        <accountUrl>http://myaccount.ispringlearn.com</accountUrl>
        <email>email@email.com</email>
        <password>password</password>
      </credentials>
    </GetContentRequest>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Sample Response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ispringlearn.com/go/services/api/soap">
   <SOAP-ENV:Body>
      <GetContentResult>
         <contentItem>
            <contentItemId>6a51a7b0-b4ec-11e9-8dc4-0a580af40990</contentItemId>
            <title>Sample Simulation - Car Sale Dialog</title>
            <description/>
            <userId>6eb2500c-b4ec-11e9-bd63-0a580af40990</userId>
            <addedDate>2019-08-02T10:50:33+00:00</addedDate>
            <viewUrl>http://myaccount.ispringlearn.com/view/100235-6cMak-YHbVg-aEFPv</viewUrl>
            <type>Course</type>
         </contentItem>
          ...
      </GetContentResult>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>