Show Menu
TOPICS×

getAssetPublishHistory

Returns the publish history for an asset.
Syntax

Authorized User Types

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • TrialSiteUser
  • ImagePortalAdmin
  • ImagePortalUser
  • ImagePortalContrib
  • ImagePortalContribUser

Parameters

Input (getAssetPublishHistoryParam)
Name
Type
Required
Description
* companyHandle *
xsd:string
Yes
The handle to the company with the asset publish history.
* assetHandle *
xsd:string
Yes
The asset with the publish history you want to examine.
Output (getAssetPublishHistoryReturn)
Name
Type
Required
Description
* pubHistoryArray *
types:PublishHistoryArray
Yes
The asset's publish history.

Examples

This code sample returns the publish history of an asset. An asset has never been published if the server returns an empty array.
Request
<getAssetPublishHistoryParam xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <companyHandle>c|6</companyHandle>
   <assetHandle>a|732|1|535</assetHandle>
</getAssetPublishHistoryParam>

Response
<getAssetPublishHistoryReturn xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <pubHistoryArray/>
</getAssetPublishHistoryReturn>