ReferenceApiRelationships
Creates or replaces a relationship for a digital twin.
Path Parameters
id*string
relationshipId*string
Request Body
application/json
$relationshipId?|
$targetId?string
$sourceId?|
$relationshipName?string
$etag?|
$metadata?|
Response Body
application/json
curl -X PUT "http://localhost:8080/digitaltwins/string/relationships/string" \ -H "Content-Type: application/json" \ -d '{}'{
"$relationshipId": null,
"$targetId": "string",
"$sourceId": null,
"$relationshipName": "string",
"$etag": null,
"$metadata": {}
}