Changing Publish Settings

You can change publish settings of your account with the setAccountPublishSettings method.

Parameters

Parameter Type Description
credentials (required) credentials Read the description of the Credentials object.
defaultContentPrivacy (required) string public or private
isPrivateContentViewedOnce (required) bool True, if private content items can be viewed only once.
manualUploadEnabled (required) bool True, if publishers and administrators can upload content items using the web interface.

Return Value

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

Parameter Type Description
success bool True, if the publish settings have been changed.

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>
    <SetAccountPublishSettingsRequest 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>
      <DefaultContentPrivacy>private</DefaultContentPrivacy>
      <IsPrivateContentViewedOnce>True</IsPrivateContentViewedOnce>
      <ManualUploadEnabled>True</ManualUploadEnabled>
    </SetAccountPublishSettingsRequest>
  </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>
    <SetAccountPublishSettingsResult xmlns="http://www.articulate-online.com/services/api/1.0/">
      <Success>True</Success>
    </SetAccountPublishSettingsResult>
  </soap:Body>
</soap:Envelope>