Skip to content

Commit 6f0df40

Browse files
authored
Merge pull request #513 from admin-shell-io/SeBa/fix-PutAssetAdministrationShellById
Add Parameter "id" and a new Note to PutAssetAdministrationShellById
2 parents 292ecee + 8d864db commit 6f0df40

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

documentation/IDTA-01002-3/modules/ROOT/pages/changelog.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Major Changes:
1919

2020
Minor Changes:
2121

22+
* ...
2223
* Added the `ServerNotImplemented` status code to the xref:specification/interfaces-payload.adoc#table-status-codes[Status Codes]. Note that the HTTP API mentioned this status code already, therefore, no change in OpenAPI or other related files. (https://github.com/admin-shell-io/aas-specs-api/issues/499[#499])
2324

2425

@@ -29,6 +30,7 @@ Minor Changes:
2930
|===
3031
h|Operation h|Kind of Change h|Comment
3132

33+
| PutAssetAdministrationShellById|change a| Added the missing `id` input parameter and a note explaining the behavior in case the AAS identifier does not match the value of `id`. (https://github.com/admin-shell-io/aas-specs-api/issues/506[#506])
3234

3335
|===
3436

documentation/IDTA-01002-3/modules/ROOT/pages/specification/interfaces.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,8 +1331,12 @@ h|semanticId 4+|`\https://admin-shell.io/aas/API/PutAssetAdministrationShellById
13311331

13321332
h|Name h|Description h|Mand. h|Type h|Card.
13331333
5+h|Input Parameter
1334+
|id |The Asset Administration Shell’s unique ID |yes |link:https://industrialdigitaltwin.io/aas-specifications/IDTA-01001/v3.1/spec-metamodel/datatypes.html#Identifier[Identifier] |1
13341335
|aas |Asset Administration Shell object |yes |link:https://industrialdigitaltwin.io/aas-specifications/IDTA-01001/v3.1/spec-metamodel/core.html#AssetAdministrationShell[AssetAdministrationShell] |1
13351336
5+h|Output Parameter
1337+
====
1338+
Note: The `id` of the contained Asset Administration Shell object has to be exactly the same as in the `id` input parameter. A server shall respond with a `ClientErrorBadRequest` otherwise.
1339+
====
13361340
|statusCode |Status code |yes |xref:specification/interfaces-payload.adoc#StatusCode[StatusCode] |1
13371341
|payload |Replaced Asset Administration Shell | no |link:https://industrialdigitaltwin.io/aas-specifications/IDTA-01001/v3.1/spec-metamodel/core.html#AssetAdministrationShell[AssetAdministrationShell] |1
13381342
|===

0 commit comments

Comments
 (0)