Composite Thing Configuration for a Specific Thing Hierarchy: OData Service

Overview

With this method, you can retrieve the thing configuration details for the specified thing hierarchy. The result set includes the following:

  • Details of the specified thing hierarchy.

  • All things that belong to the specified thing hierarchy.

  • Property set types and properties associated with things that belong to the specified thing hierarchy.

OData Version: 2.0

Root URI:http://<server address>[:<port number>]/CompositesThingHierarchy/v1

Example for a Root URI in a cloud foundry environment: https://cs-hierarchy-meta-sap.cfapps.eu10.hana.ondemand.com/CompositesThingHierarchy

Entity Data Model

Service Metadata URI: http://<server address>[:<port number>]/CompositesThingHierarchy/v1/$metadata

Operations

CRUD Operations

HTTP Method Operation URI Scope
GET Read Metadata /CompositesThingHierarchy/v1/$metadata <ctodata>.r
GET Read all Hierarchies /CompositesThingHierarchy/v1/Hierarchies <ctodata>.r
GET Read Details of a Thing Hierarchy /CompositesThingHierarchy/v1/Hierarchies(‘<thing hierarchy ID>’) <ctodata>.r
GET Read Thing Hierarchy Elements /CompositesThingHierarchy/v1/Hierarchies(‘<thing hierarchy ID>’)/ThingHierarchyElements <ctodata>.r
GET Read Thing Hierarchy Elements and Property Set Types /CompositesThingHierarchy/v1/Hierarchies(‘<thing hierarchy ID>’)?$expand=ThingHierarchyElements/PropertySetTypes <ctodata>.r
GET Read Thing Hierarchy Elements, Property Set Types, and Properties /CompositesThingHierarchy/v1/Hierarchies(‘<thing hierarchy ID>’)?$expand=ThingHierarchyElements/PropertySetTypes/Properties <ctodata>.r