You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varqueryOptions=request?.Levelis not null||request?.Extentis not null?newSubmodelQueryOptions(request.Level?.ToString(),request.Extent?.ToString()):null;
20
+
varqueryOptions=request?.levelis not null||request?.extentis not null?newSubmodelQueryOptions(request.level?.ToString(),request.extent?.ToString()):null;
21
21
22
22
returnGetResourceByIdAsync(
23
-
request?.SubmodelId,
23
+
request?.submodelId,
24
24
"submodel",
25
25
id =>submodelRepositoryService.GetSubmodelAsync(id,queryOptions,cancellationToken)!);
26
26
}
@@ -30,8 +30,8 @@ public Task<ISubmodelElement> GetSubmodelElement(GetSubmodelElementRequest reque
@@ -106,8 +106,8 @@ public async Task<ActionResult<JsonObject>> GetSubmodelAsync(
106
106
/// <param name="submodelIdentifier">The Submodel's unique id (UTF8-BASE64-URL-encoded)</param>
107
107
/// <param name="limit">The maximum number of elements in the response array.</param>
108
108
/// <param name="cursor">A server-generated identifier retrieved from pagingMetadata that specifies from which position the result listing should continue.</param>
109
-
/// <param name="level">Determines the structural depth of the returned content. Accepted values: <c>deep</c>, <c>core</c>.</param>
110
-
/// <param name="extent">Determines the serialization of the returned content. Accepted values: <c>withBlobValue</c>, <c>withoutBlobValue</c>.</param>
109
+
/// <param name="level">Determines the structural depth of the returned content.</param>
110
+
/// <param name="extent">Determines the serialization of the returned content.</param>
111
111
/// <response code="200">List of found submodel elements</response>
112
112
/// <response code="400">Bad Request, e.g. the request parameters or request format are invalid.</response>
113
113
/// <response code="404">Not Found</response>
@@ -121,9 +121,10 @@ public async Task<ActionResult<SubmodelElementsDto>> GetAllSubmodelElementsAsync
121
121
[FromRoute]stringsubmodelIdentifier,
122
122
[FromQuery]int?limit,
123
123
[FromQuery]string?cursor,
124
-
[FromQuery]Level?level,
125
-
[FromQuery]Extent?extent,
126
-
CancellationTokencancellationToken)
124
+
CancellationTokencancellationToken,
125
+
[FromQuery]Levellevel=Level.deep,
126
+
[FromQuery]Extentextent=Extent.withoutBlobValue
127
+
)
127
128
{
128
129
logger.LogInformation("Get All Submodel Elements");
0 commit comments