You can change publish settings of your account with the setAccountPublishSettings method.
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. |
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. |
<?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> <SetAccountPublishSettingsRequest> <Credentials> <AccountUrl>http://myaccount.ispringlearn.com</AccountUrl> <Email>email@email.com</Email> <Password>password</Password> </Credentials> <DefaultContentPrivacy>private</DefaultContentPrivacy> <IsPrivateContentViewedOnce>True</IsPrivateContentViewedOnce> <ManualUploadEnabled>True</ManualUploadEnabled> </SetAccountPublishSettingsRequest> </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> <SetAccountPublishSettingsResult> <Success>True</Success> </SetAccountPublishSettingsResult> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |