Page tree

GET /catalogues/{CatalogueID}/hierarchy

Description: Get list of related catalogue data, including, parent/child related records, volumes, parts and amendments. To get copy/holding data please the copies method.

ParameterExampleNotes

CatalogueID

REQUIRED

347566CID for record to get related data of.

Request: /SoutronAPI/catalogues/347566/hierarchy

Response
<HierarchyRecordsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Soutron.API.ServiceModel.Catalogues">
	<Amendments i:nil="true"/>
	<Childs>
		<RecordHierarchyItem>
			<CatalogueId>382800</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription>Parent</RelationDescription>
		</RecordHierarchyItem>
		<RecordHierarchyItem>
			<CatalogueId>383191</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription>Parent</RelationDescription>
		</RecordHierarchyItem>
	</Childs>
	<Equal>
		<RecordHierarchyItem>
			<CatalogueId>382699</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription>Equal</RelationDescription>
		</RecordHierarchyItem>
		<RecordHierarchyItem>
			<CatalogueId>382716</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription>Equal</RelationDescription>
		</RecordHierarchyItem>
		<RecordHierarchyItem>
			<CatalogueId>382722</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription>Equal</RelationDescription>
		</RecordHierarchyItem>
		<RecordHierarchyItem>
			<CatalogueId>382800</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription>Equal</RelationDescription>
		</RecordHierarchyItem>
	</Equal>
	<Parts>
		<RecordHierarchyItem>
			<CatalogueId>383226</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>21</RecordTypeId>
			<RelationDescription i:nil="true"/>
		</RecordHierarchyItem>
		<RecordHierarchyItem>
			<CatalogueId>383227</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>21</RecordTypeId>
			<RelationDescription i:nil="true"/>
		</RecordHierarchyItem>
	</Parts>
	<Volumes>
		<RecordHierarchyItem>
			<CatalogueId>386225</CatalogueId>
			<ContentTypeId>15</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription i:nil="true"/>
		</RecordHierarchyItem>
		<RecordHierarchyItem>
			<CatalogueId>386575</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription i:nil="true"/>
		</RecordHierarchyItem>
		<RecordHierarchyItem>
			<CatalogueId>386576</CatalogueId>
			<ContentTypeId>1</ContentTypeId>
			<RecordTypeId>1</RecordTypeId>
			<RelationDescription i:nil="true"/>
		</RecordHierarchyItem>
	</Volumes>
	<SearchID>2741</SearchID>
</HierarchyRecordsResult>
  • No labels