Reviewing PublicationAction Data Attribute Values

Whenever a publication action is triggered, Data Hub gathers and returns information to you when you do the RESTful GET command against the publication action.

You do a RESTful POST to launch a publication. You can follow that POST with a GET to the same REST endpoint, and Data Hub returns a list of information about the publication action. If the publication action is complete, you see a finalized information listing. Otherwise, while the publication action remains in the IN_PROGRESS status, the counts update as the publication processes. An example of a typical information list is shown in the following XML.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<publicationActionDatas>
	<publicationActionData>
		<actionId>1</actionId>
		<type>PUBLICATION</type>
		<startTime>2016-07-27T16:15:08+02:00</startTime>
		<endTime>2016-07-27T16:15:10+02:00</endTime>
		<status>SUCCESS</status>
		<poolName>GLOBAL</poolName>
		<targetSystemPublications>
			<publicationId>1</publicationId>
			<startTime>2016-07-27T16:15:08+02:00</startTime>
			<endTime>2016-07-27T16:15:10+02:00</endTime>
			<status>SUCCESS</status>
			<targetSystemName>HybrisCoreInstallation</targetSystemName>
			<actionId>1</actionId>
			<poolName>GLOBAL</poolName>
			<canonicalItemCount>1000</canonicalItemCount>
			<internalErrorCount>0</internalErrorCount>
			<externalErrorCount>0</externalErrorCount>
			<ignoredCount>0</ignoredCount>
		</targetSystemPublications>
	</publicationActionData>
</publicationActionDatas>

In the following table, we examine one section of the information listing.

targetSystemPublications Section
Attribute Description
<publicationId> The ID of the publication action
<startTime> The time the publication action started
<endTime> The time the publication action ended
<status> When a publication ends, it is assigned a status
<targetSystemName> The name of the target system
<actionId> Action ID
<poolName> The name of the pool the publication action is drawing its canonical items from
<canonicalItemCount> The number of canonical items processed by the publication item
<internalErrorCount> The number of errors generated during the Target Item creation process
<externalErrorCount> Returns the numbers of errors generated during the publication to the target system
<ignoredCount> Returns the number of items that were ignored in the grouping handlers