Getting Content Item Info

You can obtain information about a content item with the getContentItem method.

Parameters

Parameter Type Description
credentials (required) credentials Read the description of the Credentials object.
contentItemId (required) string ID of a content item.

Return Value

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

Parameter Type Description
contentItemId string ID of the specified content item.
title string Title of the specified content item.
description string Description of the specified content item.
userId string ID of the user, who created a given content item.
addedDate date The date, when a given content item was added.
viewUrl string The absolute URL for a given content item.

Sample Call

<?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>
    <GetContentItemRequest xmlns="http://www.articulate-online.com/services/api/1.0/">
      <Credentials>
        <AccountUrl>http://myaccount.ispringonline.com</EmailAddress>
        <Email>email@email.com</Password>
        <Password>password</Password>
      </Credentials>
      <ContentItemId>1234</ContentItemId>
    </GetContentItemRequest>
  </soap:Body>
</soap:Envelope>

Sample Response

<?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>
    <GetContentItemResult xmlns="http://www.articulate-online.com/services/api/1.0/">
      <ContentItem>
        <ContentItemId>1234</ContentItemId>
        <Title>title</Title>
        <Description>description</Description>
        <AuthorId>1</AuthorId>
        <AddedDate>2009-01-01</AddedDate>
        <ViewUrl>http://myaccount.ispringonline.com/content/1234</ViewUrl>
      </ContentItem>
    </GetContentItemResult>
  </soap:Body>
</soap:Envelope>