setcompanysettings setcompanysettings

設定各種公司專屬的設定值。

語法

授權的使用者型別 section-41732fa7424b455cb458eec21a02259c

  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • ImagePortalAdmin

參數 section-a472da6c57c74a94a179dda081004888

輸入(setCompanySettingsParam)

名稱
類型
必要
說明
companyHandle
xsd:string
公司控點。
overwriteMode
xsd:string
資產覆寫模式。
retainPublishState
xsd:boolean
設定為 true 重新上傳資產時保留發佈狀態。
defaultSourceProfileHandle
xsd:string
IccProfile資產,以做為預設來源色彩設定檔。
defaultDisplayProfileHandle
xsd:string
IccProfile資產,以做為預設的顯示色彩設定檔。
iptcExifMappingXsltHandle
xsd:string
用於將IPTC和EXIF中繼資料對應到IPS中繼資料欄位的XSL資產。
Xmappingxslthandle
xsd:string
用於將XMP中繼資料對應至IPS中繼資料欄位的XSL資產。
diskSpaceWarningMin
xsd:int
傳送警告訊息之前可用的最小可用磁碟空間(KB)。
emailTrashCleanupWarning
xsd:boolean
設定為 true 若要在資產從垃圾桶清空時傳送通知給公司管理員。

輸出(setCompanySettingsReturn)

IPS API未傳回此作業的回應。

範例 section-d10bf1d3d86f46f7bcf78dc1a2c363c5

此程式碼範例會設定公司的設定。

請求

<ns1:setCompanySettingsParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <ns1:companyHandle>c|6</ns1:companyHandle>
   <ns1:overwriteMode>OverwriteFullName</ns1:overwriteMode>
   <ns1:retainPublishState>true</ns1:retainPublishState>
   <ns1:diskSpaceWarningMin>100000</ns1:diskSpaceWarningMin>
   <ns1:emailTrashCleanupWarning>true</ns1:emailTrashCleanupWarning>
</ns1:setCompanySettingsParam>

回答

無。

recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681