Page tree
Skip to end of metadata
Go to start of metadata

Method: GetContent

Request Parameters

Parameter

Type

Description

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

Permissions to Run the Request

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

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>
  • No labels