You can get publish settings of your account with the getAccountPublishSettings method.

Parameters

ParameterTypeDescription
credentials (required)credentialsRead the description of the Credentials object.

 

Return Value

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

ParameterTypeDescription
defaultContentPrivacystringContent type, set to items by default (public/private)
isPrivateContentViewedOnceboolTrue, if private content items can be viewed only once.
manualUploadEnabledboolTrue, if it's allowed to upload content items from the web interface.

 

Sample Call

<?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>
    <GetAccountPublishSettingsRequest>
      <Credentials>
        <AccountUrl>http://myaccount.ispringlearn.com</AccountUrl>
        <Email>email@email.com</Email>
        <Password>password</Password>
      </Credentials>
    </GetAccountPublishSettingsRequest>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Sample Response

<?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>
    <GetAccountPublishSettingsResult>
      <DefaultContentPrivacy>private</DefaultContentPrivacy>
      <IsPrivateContentViewedOnce>True</IsPrivateContentViewedOnce>
      <manualUploadEnabled>True</manualUploadEnabled>
    </GetAccountPublishSettingsResult>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>