Adsk.Platform.DataManagement
0.0.6
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Adsk.Platform.DataManagement --version 0.0.6
NuGet\Install-Package Adsk.Platform.DataManagement -Version 0.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Adsk.Platform.DataManagement" Version="0.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Adsk.Platform.DataManagement --version 0.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Adsk.Platform.DataManagement, 0.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Adsk.Platform.DataManagement as a Cake Addin #addin nuget:?package=Adsk.Platform.DataManagement&version=0.0.6 // Install Adsk.Platform.DataManagement as a Cake Tool #tool nuget:?package=Adsk.Platform.DataManagement&version=0.0.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
APS DataManagement/OSS services SDK for CSharp
How to use the SDKs
See here for details.
Urn vs Id
The SDK uses urn
and id
interchangeably. Basically, the id
is an unique identifier for an folder
, item
, version
this id
is a string starting with prefix urn
.
Filtering
Few endpoints support filters as query parameters (see Filtering in the APS documentation).
Some of them are accessible with Intellisense, for example:
public async Task<List<FolderContent>> getFolderContentByPageAsync(string projectId, string folderId)
{
return await _dataMgtClient.Projects[projectId].Folders[folderId].Contents
.GetAsync(r =>
{
r.QueryParameters.Filtertype = ["item"];
r.QueryParameters.FilterextensionType = ["items:autodesk.bim360:File"];
});
}
But for more complex filters, you need to override the default URL:
public async Task<Models.Search?> SearchAdvancedAsync(string projectId, string folderId)
{
var filters = new List<(string, string)>
{
( "filter[extension.type]", "items:autodesk.bim360:File" ),
( "filter[type]", "item" ),
( "filter[attributes.fileName]-contains","Floor")
};
var requestInfo = _dataMgtClient.Api.Projects[projectId].Folders[folderId].Search.ToGetRequestInformation();
var searchWithFiltersURI = _dataMgtClient.Helper.CreateRequestWithFilters(requestInfo, filters);
var searchResult = await _dataMgtClient.Api.Projects[projectId].Folders[folderId].Search.WithUrl(searchWithFiltersURI).GetAsync();
return searchResult;
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Adsk.Platform.HttpClient (>= 0.0.6)
- Microsoft.Kiota.Serialization.Form (>= 1.1.6)
- Microsoft.Kiota.Serialization.Json (>= 1.2.2)
- Microsoft.Kiota.Serialization.Multipart (>= 1.1.4)
- Microsoft.Kiota.Serialization.Text (>= 1.1.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.3 | 90 | 10/17/2024 |
0.1.2 | 78 | 10/16/2024 |
0.1.1 | 81 | 10/16/2024 |
0.1.0 | 84 | 10/16/2024 |
0.0.16 | 86 | 10/14/2024 |
0.0.15 | 73 | 10/14/2024 |
0.0.14 | 82 | 10/14/2024 |
0.0.13 | 167 | 9/18/2024 |
0.0.12 | 158 | 7/30/2024 |
0.0.11 | 96 | 7/16/2024 |
0.0.10 | 88 | 7/16/2024 |
0.0.9 | 93 | 5/31/2024 |
0.0.8 | 94 | 5/22/2024 |
0.0.7 | 70 | 5/14/2024 |
0.0.6 | 118 | 5/4/2024 |
0.0.5 | 97 | 5/3/2024 |
0.0.4 | 114 | 4/30/2024 |
0.0.3 | 116 | 4/30/2024 |