AVAILABLE WITH BUSINESS SUBSCRIPTION

Method: getContentItem

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 information regarding the course.

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>
      <GetContentItemRequest>
       <credentials>
          <accountUrl>https://myaccount.ispringlearn.com</accountUrl>
          <email>email@email.com</email>
          <password>password</password>
        </credentials>
           <contentItemId>6a51a7b0-b4ec-11e9-8dc4-0a580af40990</contentItemId>
      </GetContentItemRequest>
 </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>
            <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