Partilhar via


Twins

Operations

DigitalTwins Add

Adds or replaces a digital twin. Status codes:

  • 200 OK
  • 400 Bad Request
  • 412 Precondition Failed
DigitalTwins AddRelationship

Adds a relationship between two digital twins. Status codes:

  • 200 OK
  • 400 Bad Request
  • 404 Not Found
  • 412 Precondition Failed
DigitalTwins Delete

Deletes a digital twin. All relationships referencing the digital twin must already be deleted. Status codes:

  • 204 No Content
  • 400 Bad Request
  • 404 Not Found
  • 412 Pr...
DigitalTwins DeleteRelationship

Deletes a relationship between two digital twins. Status codes:

  • 204 No Content
  • 400 Bad Request
  • 404 Not Found
  • 412 Precondition Failed
DigitalTwins GetById

Retrieves a digital twin. Status codes:

  • 200 OK
  • 400 Bad Request
  • 404 Not Found
DigitalTwins GetComponent

Retrieves a component from a digital twin. Status codes:

  • 200 OK
  • 400 Bad Request
  • 404 Not Found
DigitalTwins GetRelationshipById

Retrieves a relationship between two digital twins. Status codes:

  • 200 OK
  • 400 Bad Request
  • 404 Not Found
DigitalTwins ListIncomingRelationships

Retrieves all incoming relationship for a digital twin. Status codes:

  • 200 OK
  • 400 Bad Request
  • 404 Not Found
DigitalTwins ListRelationships

Retrieves the relationships from a digital twin. Status codes:

  • 200 OK
  • 400 Bad Request
  • 404 Not Found
DigitalTwins SendComponentTelemetry

Sends telemetry on behalf of a component in a digital twin. Status codes:

  • 204 No Content
  • 400 Bad Request
  • 404 Not Found
DigitalTwins SendTelemetry

Sends telemetry on behalf of a digital twin. Status codes:

  • 204 No Content
  • 400 Bad Request
  • 404 Not Found
DigitalTwins Update

Updates a digital twin. Status codes:

  • 204 No Content
  • 400 Bad Request
  • 404 Not Found
  • 412 Precondition Failed
DigitalTwins UpdateComponent

Updates a component on a digital twin. Status codes:

  • 204 No Content
  • 400 Bad Request
  • 404 Not Found
  • 412 Precondition Failed
DigitalTwins UpdateRelationship

Updates the properties on a relationship between two digital twins. Status codes:

  • 204 No Content
  • 400 Bad Request
  • 404 Not Found
  • 409 Conflict
  • 412 Precondition Fail...