Getting Tags of a Content Item

You can get the list of tags of a content item with the getContentItemTags method.

Parameters

Parameter Type Description
credentials (required) credentials Read the description of the Credentials object.
contentItemId (required) string ID of a content item, which tags you want to obtain.

Return Value

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

Parameter Type Description
tags string[] An array of tags of 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>
    <GetContentItemTagsRequest 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>
    </GetContentItemTagsRequest>
  </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>
    <GetContentItemTagsResult xmlns="http://www.articulate-online.com/services/api/1.0/">
      <Tags>
       <Tag>tag1</Tag>
       <Tag>tag2</Tag>
      </Tags>
    </GetContentItemTagsResult>
  </soap:Body>
</soap:Envelope>