You can get the list of content items with the getContent 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. |
After the request has been completed, the system returns an object with the following properties:
Parameter | Type | Description |
---|---|---|
content | contentItem[] | Array of content items. The contentItem object has the same properties as in the getContentItem method. |
type | string | Type of the 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> <GetContentRequest> <credentials> <accountUrl>http://myaccount.ispringlearn.com</accountUrl> <email>email@email.com</email> <password>password</password> </credentials> </GetContentRequest> </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> <GetContentResult> <content> <contentItem> <contentItemId>1234</contentItemId> <title>title</title> <description>description</description> <userId>1</userId> <addedDate>2016-01-01</addedDate> <viewUrl>http://myaccount.ispringlearn.com/content/1234</viewUrl> <type>Assignment</type> </contentItem> <contentItem> … </contentItem> </content> </GetContentResult> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |