Instance Associations
You can associate one or more object instances to other object instances or thing instances. This is possible only if an association already exists between the object types or the object type and the thing type respectively. Association-related operations are deprecated and will continue to be available on the AWS landscape for a limited period of time.
Resource Path:http://<server address>[:<port number>][/path]/CustomDataAssociation
Example for a base URI in a cloud foundry environment: https://sap-iotaeexplore.iot-sap.cfapps.eu10.hana.ondemand.com/customdata-associations/CustomDataAssociation
Operations
CRUD Operations
| HTTP Method | Operation | URI |
|---|---|---|
| GET | Read an Instance Association | /CustomDataAssociation/v1/ObjectAssociations('<Association ID>') |
| GET | Read all Instance Associations | /CustomDataAssociation/v1/ObjectAssociations |
| POST | Create an Instance Association | /CustomDataAssociation/v1/ObjectAssociations |
| DELETE | Delete an Instance Association | /CustomDataAssociation/v1/ObjectAssociations('<Association ID>' |
Custom Operations
| HTTP Method | Operation Type | Operation | URI |
|---|---|---|---|
| GET | $metadata | /v1/$metadata | |
| POST | $batch | $Batch | /CustomDataAssociation/v1/$batch |