You can get publish settings of your account with the getAccountPublishSettings method.
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 |
---|---|---|
defaultContentPrivacy | string | Content type, set to items by default (public/private) |
isPrivateContentViewedOnce | bool | True, if private content items can be viewed only once. |
manualUploadEnabled | bool | True, if it's allowed to upload content items from the web interface. |
<?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> |
<?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> |