You can get the list of tags of a content item with the getContentItemTags method.
Permission to run the request: Account Owner, Administrator, Organization Administrator, Publisher.
Parameter | Type | Description |
---|---|---|
credentials (required) | credentials | Read the description of the Credentials object. |
contentItemId (required) | string | ID of a content item you want to get tags of. |
After the request has been completed, the system returns an object with the following properties:
Parameter | Type | Description |
---|---|---|
tags | string[] | Array of tags of the given content item. |
<?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> <GetContentItemTagsRequest> <credentials> <accountUrl>http://myaccount.ispringlearn.com</accountUrl> <email>email@email.com</email> <password>password</password> </credentials> <contentItemId>1234</contentItemId> </GetContentItemTagsRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
<?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> <GetContentItemTagsResult> <tags> <tag>tag1</tag> <tag>tag2</tag> </tags> </GetContentItemTagsResult> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |