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.
Digital Twin Registry Command topic
Accepts one of the following messages:
Create a single Twin v1
The type of the Twin
The category of the Twin
Detailed description of the Twin
Manufacturer of the physical asset represented by the Twin
Local Identifiers of the Twin
Specific Local Identifier from the list of the Twin
Specify the key and values of the Local Identifier
Local Identifier key
Local Identifier value
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Labels of the Twin
Twin Groups in which the Twin shall be a member.
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.
Kind of the Twin
Additional properties are NOT allowed.
Kafka headers
The name of the Schema we are using
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.
Additional properties are allowed.
{
"twinType": "Bosch Nexo cordless Wi-Fi nutrunner",
"twinCategory": "Drill",
"description": "On Nexo the complete control unit is in the nutrunner – the first of its kind.",
"manufacturer": "Bosch",
"localIdentifiers": [
{
"localIdentifierKeyPairs": [
{
"key": "serialNumber",
"value": "123456"
}
]
}
],
"labels": [
"cordless-drills"
],
"groups": [
5821
],
"twinKind": "INSTANCE"
}
{
"schema-name": "CreateTwin:v1",
"correlation-id": "e44d286e-afe3-4d88-b5cd-c32ad9e95965"
}
Create a single Shell v1
Additional properties are NOT allowed.
Additional properties are NOT allowed.
The idShort is unique.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
The idShort is not unique overall. All Submodel idShort in one Shell are unique.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Shell Groups
Identification of an Shell Group
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.
Additional properties are NOT allowed.
Labels of the Shell
Creation date. The format of parameter is RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339#section-5.6).
Additional properties are NOT allowed.
Kafka headers
The name of the Schema we are using
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.
Additional properties are allowed.
{
"description": [
{
"language": "en",
"text": "string"
}
],
"displayName": [
{
"language": "en",
"text": "string"
}
],
"assetKind": "Instance",
"assetType": "string",
"globalAssetId": "string",
"idShort": "string",
"id": "https://example.org/aas/motor",
"specificAssetIds": [
{
"semanticId": {
"type": "ExternalReference",
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
],
"referredSemanticId": {
"type": "ExternalReference",
"referredSemanticId": {},
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
]
}
},
"supplementalSemanticIds": [
{
"type": "ExternalReference",
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
],
"referredSemanticId": {
"type": "ExternalReference",
"referredSemanticId": {},
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
]
}
}
],
"name": "manufacturerId",
"value": "BOSCH",
"externalSubjectId": {
"type": "ExternalReference",
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
],
"referredSemanticId": {
"type": "ExternalReference",
"referredSemanticId": {},
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
]
}
}
}
],
"submodelDescriptors": [
{
"endpoints": [
{
"interface": "AAS-3.0",
"protocolInformation": {
"href": "https://localhost:1234/api/v3.0/aas",
"endpointProtocol": "HTTP",
"endpointProtocolVersion": [
"1.1"
],
"subprotocol": "OPC UA Basic SOAP",
"subprotocolBody": "ns=2;s=MyAAS",
"subprotocolBodyEncoding": "application/soap+xml",
"securityAttributes": [
{
"type": "NONE",
"key": "securityKey",
"value": "securityValue"
}
]
}
}
],
"idShort": "string",
"id": "https://admin-shell.io/zvei/nameplate/1/0/Nameplate",
"semanticId": {
"type": "ExternalReference",
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
],
"referredSemanticId": {
"type": "ExternalReference",
"referredSemanticId": {},
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
]
}
},
"supplementalSemanticId": [
{
"type": "ExternalReference",
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
],
"referredSemanticId": {
"type": "ExternalReference",
"referredSemanticId": {},
"keys": [
{
"type": "AnnotatedRelationshipElement",
"value": "M001"
}
]
}
}
],
"description": [
{
"language": "en",
"text": "string"
}
],
"displayName": [
{
"language": "en",
"text": "string"
}
]
}
],
"groups": [
{
"id": 5821
}
],
"labels": [
"string"
],
"createdAt": "2021-03-05T12:34:56.123Z"
}
{
"schema-name": "CreateShell:v1",
"correlation-id": "e44d286e-afe3-4d88-b5cd-c32ad9e95965"
}
Digital Twin Registry Response topic
Accepts one of the following messages:
Created a single Entity v1
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.
Additional properties are NOT allowed.
Kafka headers
The name of the Schema we are using
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.
Additional properties are allowed.
{
"id": 5821
}
{
"schema-name": "EntityCreated:v1",
"correlation-id": "e44d286e-afe3-4d88-b5cd-c32ad9e95965"
}
There was an error while performing the operation
The detailed error message for the exception which occurred.
An object with key/value pairs containing additional information about the error.
Additional properties are allowed.
A machine processable, application internal error code.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Kafka headers
The name of the Schema we are using
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.
Additional properties are allowed.
{
"error": {
"message": "Validation failed",
"details": {
"name": "size must be between 1 and 128",
"description": "size must be between 1 and 512"
},
"code": 20001
}
}
{
"schema-name": "ErrorResponse:v1",
"correlation-id": "e44d286e-afe3-4d88-b5cd-c32ad9e95965"
}
Create a single Twin v1
The type of the Twin
The category of the Twin
Detailed description of the Twin
Manufacturer of the physical asset represented by the Twin
Local Identifiers of the Twin
Specific Local Identifier from the list of the Twin
Specify the key and values of the Local Identifier
Local Identifier key
Local Identifier value
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Labels of the Twin
Twin Groups in which the Twin shall be a member.
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.
Kind of the Twin
Additional properties are NOT allowed.
Kafka headers
The name of the Schema we are using
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.
Additional properties are allowed.
Create a single Shell v1
Additional properties are NOT allowed.
Additional properties are NOT allowed.
The idShort is unique.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
The idShort is not unique overall. All Submodel idShort in one Shell are unique.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Shell Groups
Identification of an Shell Group
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.
Additional properties are NOT allowed.
Labels of the Shell
Creation date. The format of parameter is RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339#section-5.6).
Additional properties are NOT allowed.
Kafka headers
The name of the Schema we are using
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.
Additional properties are allowed.
Created a single Entity v1
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.
Additional properties are NOT allowed.
Kafka headers
The name of the Schema we are using
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.
Additional properties are allowed.
There was an error while performing the operation
The detailed error message for the exception which occurred.
An object with key/value pairs containing additional information about the error.
Additional properties are allowed.
A machine processable, application internal error code.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Kafka headers
The name of the Schema we are using
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.
Additional properties are allowed.
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.
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.
Kind of the Twin
Created a single Entity v1
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.
Additional properties are NOT allowed.
There was an error while performing the operation
The detailed error message for the exception which occurred.
An object with key/value pairs containing additional information about the error.
Additional properties are allowed.
A machine processable, application internal error code.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
The detailed error message for the exception which occurred.
An object with key/value pairs containing additional information about the error.
Additional properties are allowed.
A machine processable, application internal error code.
Additional properties are NOT allowed.
Create a single Twin v1
The type of the Twin
The category of the Twin
Detailed description of the Twin
Manufacturer of the physical asset represented by the Twin
Local Identifiers of the Twin
Specific Local Identifier from the list of the Twin
Specify the key and values of the Local Identifier
Local Identifier key
Local Identifier value
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Labels of the Twin
Twin Groups in which the Twin shall be a member.
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.
Kind of the Twin
Additional properties are NOT allowed.
Specific Local Identifier from the list of the Twin
Specify the key and values of the Local Identifier
Local Identifier key
Local Identifier value
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Specify the key and values of the Local Identifier
Local Identifier key
Local Identifier value
Additional properties are NOT allowed.
Create a single Shell v1
Additional properties are NOT allowed.
Additional properties are NOT allowed.
The idShort is unique.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
The idShort is not unique overall. All Submodel idShort in one Shell are unique.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Shell Groups
Identification of an Shell Group
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.
Additional properties are NOT allowed.
Labels of the Shell
Creation date. The format of parameter is RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339#section-5.6).
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
The idShort is not unique overall. All Submodel idShort in one Shell are unique.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Identification of an Shell Group
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.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.
Additional properties are NOT allowed.