Digital Twin Registry - Async API 

The BCI Digital Twin Registry Async API allows you to produce commands to your Digital Twin Registry tenant in an asynchronous manner and consume the corresponding responses from the response topic.

Operations

  • SEND registry.{tenant_id}.api.command.json

    Digital Twin Registry Command topic

    Operation IDcommandSend

    Accepts one of the following messages:

    • #0Create a single TwincreateTwinV1.message
      Message IDcreateTwinV1.message
      object

      Create a single Twin v1

      object

      Kafka headers

      • #Command
      • #Create
      • #Twins

      Examples

    • #1Create a single ShellcreateShellV1.message
      Message IDcreateShellV1.message
      object

      Create a single Shell v1

      object

      Kafka headers

      • #Command
      • #Create
      • #Shells

      Examples

  • RECEIVE registry.{tenant_id}.api.response.json

    Digital Twin Registry Response topic

    Operation IDresponseReceive

    Accepts one of the following messages:

    • #0Successfully created entityentityCreatedV1.message
      Message IDentityCreatedV1.message
      object

      Created a single Entity v1

      object

      Kafka headers

      • #Response
      • #Success

      Examples

    • #1Failed operationerrorResponseV1.message
      Message IDerrorResponseV1.message
      object

      There was an error while performing the operation

      object

      Kafka headers

      • #Response
      • #Failure

      Examples

Messages

  • #1Create a single TwincreateTwinV1
    Message IDcreateTwinV1
    object

    Create a single Twin v1

    object

    Kafka headers

    • #Command
    • #Create
    • #Twins
  • #2Create a single ShellcreateShellV1
    Message IDcreateShellV1
    object

    Create a single Shell v1

    object

    Kafka headers

    • #Command
    • #Create
    • #Shells
  • #3Successfully created entityentityCreatedV1
    Message IDentityCreatedV1
    object

    Created a single Entity v1

    object

    Kafka headers

    • #Response
    • #Success
  • #4Failed operationerrorResponseV1
    Message IDerrorResponseV1
    object

    There was an error while performing the operation

    object

    Kafka headers

    • #Response
    • #Failure

Schemas

  • CorrelationId
    string
    must match: [0-9a-zA-Z\-_:]{1,128}[ 1 .. 128 ] characters

    A unique Id identifying the message. This will be included as-is in the corresponding response message. We recommend using a well established ID format like UUID or Snowflake ID to ensure uniqueness.

      Examples values:
    • "e44d286e-afe3-4d88-b5cd-c32ad9e95965"
  • EntityIdV1
    read-only
    integer
    format: int64

    Internal unique id of an entity which will be set by the service. A nil ID value of '0L' is reserved for resolved virtual Aspects or HTTP endpoints.

      Examples values:
    • 5821
  • DigitalTwinKindV1
    string

    Kind of the Twin

      Allowed values:
    • "TYPE"
    • "INSTANCE"
    • "ROLE"
    • "NOT_APPLICABLE"
      Examples values:
    • "INSTANCE"
  • object

    Created a single Entity v1

  • object

    There was an error while performing the operation

  • object
  • object

    Create a single Twin v1

  • object

    Specific Local Identifier from the list of the Twin

  • object

    Specify the key and values of the Local Identifier

  • object

    Create a single Shell v1

  • object
  • object
  • AssetKindV1
    string
      Allowed values:
    • "Instance"
    • "NotApplicable"
    • "Role"
    • "Type"
  • object
  • object
  • object

    Identification of an Shell Group

  • object
  • object
  • ReferenceTypesV1
    string
      Allowed values:
    • "ExternalReference"
    • "ModelReference"
  • object
  • KeyTypesV1
    string
      Allowed values:
    • "AnnotatedRelationshipElement"
    • "AssetAdministrationShell"
    • "BasicEventElement"
    • "Blob"
    • "Capability"
    • "ConceptDescription"
    • "DataElement"
    • "Entity"
    • "EventElement"
    • "File"
    • "FragmentReference"
    • "GlobalReference"
    • "Identifiable"
    • "MultiLanguageProperty"
    • "Operation"
    • "Property"
    • "Range"
    • "Referable"
    • "ReferenceElement"
    • "RelationshipElement"
    • "Submodel"
    • "SubmodelElement"
    • "SubmodelElementCollection"
    • "SubmodelElementList"
  • object
  • object
  • object