getPublishContext getpublishcontexts

語法

授權的使用者型別 section-1a3a50349b5640dd8e498ff9e9c37340

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • TrialSiteUser
  • ImagePortalAdmin
  • ImagePortalUser
  • ImagePortalContrib
  • ImagePortalContribUser
NOTE
  • 使用者必須擁有讀取存取權才能傳回資產。
  • 所有使用者都可存取該共用公司。

參數 section-d08e2175d3f84774b55b91bc590b8b3f

輸入(getPublishContextsParam)

名稱
類型
必要
說明
companyHandle
xsd:string
公司處理。
contextType
xsd:string

您要傳回的發佈內容型別。 包括:

  • imageserving
  • ImageRender
  • 視訊
  • 伺服器目錄

輸出(getPublishContextsReturn)

名稱
類型
必要
說明
publishContextArray
型別:PublishContextArray
公司發佈內容的陣列,依內容型別篩選(如有必要)。

範例 section-23fb7d6a15004b7eb4c3d3bcb37ceb04

請求

<getPublishContextsParam xmlns="http://www.scene7.com/IpsApi/xsd/2011-11-04">
  <companyHandle>c|301</companyHandle>
</getPublishContextsParam>

回答

<getPublishContextsReturn xmlns="http://www.scene7.com/IpsApi/xsd">
  <publishContextArray>
    <items>
      <contextHandle>pc|3001</contextHandle>
      <contextName>ImageRendering</contextName>
      <contextType>ImageRendering</contextType>
    </items>
    <items>
      <contextHandle>pc|3002</contextHandle>
      <contextName>ImageServing</contextName>
      <contextType>ImageServing</contextType>
    </items>
    <items>
      <contextHandle>pc|3003</contextHandle>
      <contextName>ServerDirectory</contextName>
      <contextType>ServerDirectory</contextType>
    </items>
    <items>
      <contextHandle>pc|3004</contextHandle>
      <contextName>Video</contextName>
      <contextType>Video</contextType>
    </items>
  </publishContextArray>
</getPublishContextsReturn>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681