AVAILABLE WITH BUSINESS SUBSCRIPTION

Method: getContent

  1. 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.

  2. The response contains only the original created or downloaded versions of courses and content.

    Let's suppose that when creating Course B, you copied a quiz as a linked copy from Course A. Only the original quiz from Course A will be included in the response.

    Note that the way you create the copy of the content is important:

    • If it is a copy, then the data about the content will be shown in the response.
    • If it is a linked copy, the information will not be shown.

  3. 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 Administrators, Department Administrators, as well as Course Authors and users with a custom role with access to the project containing this course.

For users with a custom role, allow "View and enroll users into training programs."

Request Parameters

Parameter

Type

Description

token (required)stringAccess token. You can obtain a token by making a request.

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

contentItemIdstring

ID of the learning track, course, or content

titlestring

Title of the learning track, course, or content

subtitlestring

Subtitle of the learning track, course, or content

descriptionstring

Description of the learning track, course, or content

userIdstring

ID of the user to whom the learning track, course, or content is assigned

addedDatedateTime

Date of addition of the learning track, course, or content

viewUrlstring

Link to view the learning track, course, or content

typestring

Type of content

Sample Request

<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="https://schemas.xmlsoap.org/soap/envelope/"
                   xmlns="https://ispringlearn.com/go/services/api/soap">
  <SOAP-ENV:Body>
    <GetContentRequest>
      <credentials>
         <token>p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE</token>
      </credentials>
    </GetContentRequest>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML

Sample Response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="https://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://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>
            <subtitle>A course to improve your sales skills</subtitle>
            <description>Things to remember when meeting a client.</description>
            <userId>6eb2500c-b4ec-11e9-bd63-0a580af40990</userId>
            <addedDate>2019-08-02T10:50:33+00:00</addedDate>
            <viewUrl>https://myaccount.ispringlearn.com/view/100235-6cMak-YHbVg-aEFPv</viewUrl>
            <type>Course</type>
         </contentItem>
          ...
      </GetContentResult>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML