...
Get a single asset by assetId
Use the Digizuite serviceIAssetSearchService
Code Block var assetSearchService = serviceProvider.GetRequiredService<IAssetSearchService>(); var assetResponse = await assetSearchService.GetAsset(75);
Get a list of assets
Use the Digizuite serviceIAssetSearchService
Code Block var assetSearchService = app.ServicesserviceProvider.GetRequiredService<IAssetSearchService>(); var getAssetsRequest = new GetAssetsRequest { AssetIds = new HashSet<int> { 75, 76 } }; var assetResponse = await assetSearchService.GetAssets(getAssetsRequest);
...