Skip to content

Explorer Path

Deprecated

This tutorial is kept for reference. It may not match the current Eclipse Tractus-X release. All tutorials

In this Path, you, as a provider, will create a Digital Product Passport (DPP) for a specific Part of the Arena-X Car. For this purpose, you will use Insomnia, a user-friendly tool for sending and receiving HTTP requests.

Tip

If the installation still has to be done, follow this Get Started Guide from Insomnia.

Pre-Step - Setting Up the Environment

To begin the work in the Explorer Path, you first need to set up the environment. For this tutorial, we will use Insomnia as our HTTP communication tool to send and receive data in a visual and user-friendly way.

To set up the environment follow this steps:

  • Open Insomnia
  • If necessary: create a new project, click on the "plus"-button as shown in the example: New Project

  • click on "Import"

  • choose "URL"
  • copy the following url

    https://raw.githubusercontent.com/eclipse-tractusx/digital-product-pass/refs/heads/main/dpp-tutorial/resources/explorer_payload/01%20Tractus-X%20Community%20Days.postman_collection.json
    

  • paste it into the URL-placeholder box

  • click on "Scan"
  • if done correctly there has to be "Postman Resources to be imported: 5 Requests"
  • click on import

Congratulations! You have now imported all the necessary API calls for this tutorial.


Step 1 - Create a Digital Product Passport (DPP) Instance Aspect Model

In this step, you'll create the Digital Product Passport (DPP) by utilizing data from the Product Carbon Footprint and specifications of a specific car part from the Arena. This guide provides a simple explanation on how to create a digital product pass serialized aspect model payload, by using the digital product pass aspect model template.

Aspect Model Creation

Now, you replace the data from your sheet into the Aspect Model template. This step is crucial because it ensures that your specific car part is properly registered and exists as an Aspect Model in the system.

In a real production environment, this process would typically be automated by your systems. However, for this tutorial, you are manually mapping the data to understand how the correct information about your part will later be linked to the Digital Product Passport (DPP).

By completing this step, you ensure that the part data is accurate and ready to be associated with the DPP, which is vital for traceability and the integrity of the overall process..

You will get your information in a paper:

Example:

{
 "f10c0181-ce80-4139-81f0-a59226c88bfe": {
      "Name":"TRUNK LID HINGE (LEFT)",
      "PCF (Product Carbon Footprint)": "189 kgCO2e",
      "Height": "24 cm",
      "Width": "2 cm",
      "Length": "38 cm",
      "Weight": "1.4 kg",
      "id": "f10c0181-ce80-4139-81f0-a59226c88bfe",
      "Part Instance ID": "DLH-5159",
      "Manufacturing Date": "01.12.2023",
      "Placed on Market Date": "15.01.2024",
      "List of Materials": "Aluminum",
      "Hazard Materials": "Lead, Butyl, Cyanoacrylates, Polyurethane",
      "Guarantee": "24 months"
  }
}

Note

To easily find your data digitally, refer to this JSON file, which contains all elements. You can search for your car part (identified by ID (uuid) on the sheet) using - with CTRL + F on Windows or CMD + F on MacOS/Linux

In Insomnia, locate the request labeled Step 2.1.1 Create Aspect Model and switch to the Body tab.

Replace the placeholders in the provided template with the data from your part. For example, to add the Product Carbon Footprint (PCF) value, use the following path:

characteristics.physicalDimension.width.value  

or you can search (CTRL + F or CMD + F) for the placeholder <width_placeholder>

Example:

PCF


Data Mapping Table

Replace now every placehlders given in the data mapping template with the data from your part. Use the following table to identify where to place your part's information in the template:

Tip

You can search for the placeholder CTRL + F on Windows or CMD + F on MacOS/Linux

Note

Delete "" along with <width_placeholder>, <length_placeholder>, <weight_placeholder>, <height_placeholder>, <guarantee_value> and <product_carbon_footprint>

Property Path Placeholder
Width characteristics.physicalDimension.width.value ""
Length characteristics.physicalDimension.length.value ""
Weight characteristics.physicalDimension.grossWeight.value ""
Height characteristics.physicalDimension.height.value ""
Guarantee (Value) characteristics.lifespan[0].value ""
Guarantee (Unit) characteristics.lifespan[0].unit
Name (Really short) identification.type.nameAtManufacturer
Part Instance Id identification.serial[0].value
Manufacturing Date operation.manufacturer.manufacturingDate
PCF sustainability.productFootprint.carbon[0].value ""

Congratulations! You have successfully created your own digital product pass aspect model!


Step 2 - Create a Digital Twin integrating the generated DPP model as a submodel

In this step, you will create a Digital Twin of your provided Car part and setup Digital Twin provisioning services as a data provider. Additionally, it here you create and register aspect models into the data service.

The following components are already operational and properly configured.

         ________EDC-Connector________         ________Registry________         ________Data Service________  
        |                             |       |                        |       |                            |
        | Controlplane <-> Dataplane  | <---> |         AAS DTR        | <---> |     A plain JSON Server    |           
        |_____________________________|       |________________________|       |____________________________|

Short Introduction of the components:

  • EDC Connector (Data Provider):

A preconfigured EDC Connector, acting as Gateway/Transmitter, is necessary to facilitate secure data exchange within the ecosystem. The connector enables interoperability between different participants, ensuring that the data flow is compliant with industry standards. The EDC Connector is set up and ready to handle requests.

  • Digital Twin Registry (DTR):

The Digital Twin Registry is required to manage and store Digital Twins (DT) in the form of Asset Administration Shells (AAS). This component ensures that the Digital Twins are properly registered and accessible for interaction within the ecosystem. The DTR is fully operational and preconfigured to handle incoming Digital Twin data.

  • Data Service (DS) (Data Provider):

The Data Service is a crucial component for storing the payloads of Digital Product Passports in plain JSON format. This service should already be running and ready to accept data submissions. It acts as the backend repository where all passport-related information is securely stored and easily retrievable.


Step 2.1: Register the Aspect Model

  1. First of all generate a new UUID:
  2. Visit this UUID Generator to generate an additional UIID
  3. This newly generated UUID will serve as the digitalTwinSubmodelId, which plays a crucial role in linking the Aspect Model to the Digital Product Passport (DPP) and will be important in later steps.
  4. In the Insomnia App, locate the request labeled Step 2.1.1 Create Aspect Model.
  5. Replace in the URL of the request the parameter <digitalTwinSubmodelId> with the new generated UUID, as shown in the example:

Example:

<DATA_SERVICE_URL>/urn:uuid:f10c0181-ce80-4139-81f0-a59226c88bfe
  1. Replace <DATA_SERVICE_URL> with the data service url provided

  2. Send the POST request

  3. If successful, a 200 OK response will appear next to the Send-button, confirming the Aspect Model has been registered into the submodel data service with the correct reference to the DPP.

  4. To verify the registration:

  5. Use the Insomnia request labeled Step 2.1.2 Verify the Creation.
  6. Replace with the generated UUID.
  7. Send the request. A 200 OK response confirms that the data has been registered successfully.
  8. Optionally: Cross-check that the modified data in the response body matches the data you manipulated earlier.

Step 2.2

Now we actually will create the digital Twin.

  1. Open the Insomnia request labeled Step 2.2.1 Create Digital Twin".

  2. Replace <DIGITAL_TWIN_REGISTRY_URL> with the data service url provided

  3. Switch to the Body tab and replace the following placeholders:

<PART_INSTANCE_ID>                     ->   the value of part instance written on datasheet
<PART_NAME>                            ->   the part number is written on the datasheet from a part
<digitalTwinId>                        ->   the UUID written on datasheet
<digitalTwinSubmodelId>                ->   the UUID generated in the previous step

Important

There are two instances of digitalTwinSubmodelId in the example. Please replace both of them: - One is used as "id" - The other is used as "href"

Important

There are two instances of digitalTwinId in the example. Please replace both of them: - One is used as "id" - The other is used as "globalAssetId"

  1. Send the POST request to add the Digital Twin to the Digital Twin Registry (DTR).
  2. A successful request will return a 201 Created response, which confirms that the Digital Twin has been created successfully.

Note

Every physical part of vehicle is represented by a Digital Twin object. A car is manufactured with plenty of digital twins.


Step 2.2.2: Verify the Digital Twin Registration

  1. Use the Insomnia request labeled "Step 2.2.2 Verify the Creation".
  2. Replace <DIGITAL_TWIN_ID_BASE64_ENCODED> with the Base64-encoded version of the digitalTwinId.
  3. You can encode your digitalTwinId using this Encoder

Example:

digitalTwinId (UUID): 3f89d0d4-e11c-f83b-16fd-733c63d4e121
Base64 Encoded: dXJuOnV1aWQ6M2Y4OWQwZDQtZTExYy1mODNiLTE2ZmQtNzMzYzYzZDRlMTIx
  1. Replace <DIGITAL_TWIN_REGISTRY_URL> and <UUID-1_BASE64_ENCODED> in the following URL:
<DIGITAL_TWIN_REGISTRY_URL>/shell-descriptors/<DIGITAL_TWIN_ID_BASE64_ENCODED>
  1. Send the request. A 200 OK response confirms that the Digital Twin has been successfully registered.

Step 2.3 Optional:

If you encounter an error or need to update the Digital Twin, you can use the Insomnia request labeled Step 2.3 Modify Digital Twin to make changes.

Note

Copy the Body from Step 2.2.1 Create Digitale Twin into the new Body in Step 2.3 Modify Digital Twin and afterwards modify data/attributes. Copy also the <DIGITAL_TWIN_ID_BASE64_ENCODED> and paste it into the URL:

<DIGITAL_TWIN_REGISTRY_URL>/shell-descriptors/<DIGITAL_TWIN_ID_BASE64_ENCODED>

If everything works fine, then you have reached the end of the Explorer Path.

Congratulations, you have successfully setup the data provider. It is now available and ready to exchange data in the dataspace.

You can now process further with the original DPP-Tutorial at Step 3 - Generate the QR-Code. Click here to access the next steps.

NOTICE

This work is licensed under the CC-BY-4.0.

  • SPDX-License-Identifier: CC-BY-4.0
  • SPDX-FileCopyrightText: 2024 BMW AG
  • SPDX-FileCopyrightText: 2024 CGI Deutschland B.V. & Co. KG
  • SPDX-FileCopyrightText: 2024 Contributors to the Eclipse Foundation
  • Source URL: https://github.com/eclipse-tractusx/digital-product-pass

About this tutorial

Version
v1.0
Added
Sep 2025
Updated
Sep 2025

Authors

Versions

  1. 1.0 Dec 2024 The Community Days workstream.