Skip to content

Commit

Permalink
chore(irs): updated readme guide and digital twin payloads
Browse files Browse the repository at this point in the history
  • Loading branch information
saudkhan116 committed Dec 3, 2024
1 parent 7fb2f4e commit c17b590
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions dpp-tutorial/irs-drill-down.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ Example:


## 3° Add BOMAsBuilt Relationships to the Submodel Server
## 3° Add BOMAsBuilt Payload to the Submodel Server

The BOMAsBuilt relationships, you stored temporarily in your notepad editor from [step 2](#1-lookup-bomasbuilt-relationships-of-the-component) must be added into the submodel data service.
The BOMAsBuilt relationships, you stored temporarily in your notepad editor from [step 2](#2-lookup-bomasbuilt-relationships-of-the-component) must be added into the submodel data service.


> [!IMPORTANT]
Expand All @@ -154,7 +154,7 @@ curl --location '<DATA_SERVICE_URL>/<BOMAsBuiltID>' \
--data "@<YOUR_JSON_FILE>.json"
```

> [!HINT]
> [!TIP]
> The placeholder <YOUR_JSON_FILE> is the json file which was stored in [step 2](#2-lookup-bomasbuilt-relationships-of-the-component)

Expand Down Expand Up @@ -228,7 +228,7 @@ curl --location '<DATA_SERVICE_URL>/<SerialPartID>' \
--data "@<YOUR_JSON_FILE>.json"
```

> [!HINT]
> [!TIP]
> The placeholder <YOUR_JSON_FILE> is the json file which was stored in [step 4](#4-lookup-serialpart-item-of-the-component)

Expand Down Expand Up @@ -295,7 +295,7 @@ Example JSON response:
}
```

Copy the actual json response and paste it into the notepad editor for modification.
Copy the actual json response and paste it into the notepad editor. You will need the values later.

### Update Digital Twin

Expand All @@ -315,7 +315,7 @@ Example to find the placeholders:
> Please only use your assigned UUID from [here](./resources/test-data/carParts.json) that matches the UUID on the given paper

3 - Substitute the following placeholders with their values from a given piece of paper:
3 - Substitute the following placeholders with their values. The values you will get them from the existing digital twin object that was retrieved.


| Placeholder | Path |
Expand All @@ -337,9 +337,6 @@ Example to find the placeholders:
| <serialPartID<serialPartID>> | submodelDescriptors[2].endpoints[0].protocolInformation.href |
| | submodelDescriptors[2].id |

> [!HINT]
> Use the values of <digitalTwinId<digitalTwinId>> and <digitalTwinSubmodelId<y>> from the digital twin that you created before during the creation of DPP.
> [!CAUTION]
> Please make sure that you substitute all the placeholders with their values from the above table
Expand Down

0 comments on commit c17b590

Please sign in to comment.