Adsk.Platform.ACC.DataConnector 0.2.1

dotnet add package Adsk.Platform.ACC.DataConnector --version 0.2.1
                    
NuGet\Install-Package Adsk.Platform.ACC.DataConnector -Version 0.2.1
                    
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.ACC.DataConnector" Version="0.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Adsk.Platform.ACC.DataConnector" Version="0.2.1" />
                    
Directory.Packages.props
<PackageReference Include="Adsk.Platform.ACC.DataConnector" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Adsk.Platform.ACC.DataConnector --version 0.2.1
                    
#r "nuget: Adsk.Platform.ACC.DataConnector, 0.2.1"
                    
#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.
#:package Adsk.Platform.ACC.DataConnector@0.2.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Adsk.Platform.ACC.DataConnector&version=0.2.1
                    
Install as a Cake Addin
#tool nuget:?package=Adsk.Platform.ACC.DataConnector&version=0.2.1
                    
Install as a Cake Tool

Autodesk Construction Cloud - Data Connector

The package Adsk.Platform.ACC.DataConnector provides a set of APIs to interact with the Autodesk Construction Cloud - Data Connector Service.

Documentation

Installation

dotnet add package Adsk.Platform.ACC.DataConnector

Usage

See the QuickStart Guide for a general understanding.

The root object is DataConnectorClient. This object provides access to:

  • Manager classes for organized, high-level operations (recommended)
  • Direct API access for low-level control
  • Helper methods for common workflows (legacy)

Manager classes provide an organized, intuitive interface for working with Data Connector APIs:

using Autodesk.ACC.DataConnector;

async Task<string> GetAccessToken()
{
    // Return access token with your logic
}

var client = new DataConnectorClient(GetAccessToken);
var accountId = Guid.Parse("your-account-id");

// Create a data request using RequestsManager
var requestData = new RequestsPostRequestBody
{
    Description = "Monthly issues and RFIs extract",
    ScheduleInterval = "ONE_TIME",
    EffectiveFrom = DateTime.UtcNow,
    ServiceGroups = new[] { "issues", "rfis" },
    SendEmail = true
};

var request = await client.Requests.CreateRequestAsync(accountId, requestData);

// List all jobs using JobsManager
var jobs = await client.Jobs.ListJobsAsync(accountId, config => 
{
    config.QueryParameters.Sort = "desc";
    config.QueryParameters.Limit = 20;
});

// Get job data listing
var jobId = Guid.Parse("job-id");
var dataListing = await client.Jobs.GetJobDataListingAsync(accountId, jobId);

// Download a data file using DataManager
var fileName = Guid.Parse("file-id");
var fileUrl = await client.Data.GetJobDataFileAsync(accountId, jobId, fileName);

Alternative: Direct API Access

For advanced scenarios, you can use the low-level API directly:

using Autodesk.ACC.DataConnector;

var client = new DataConnectorClient(GetAccessToken);
var accountId = Guid.Parse("your-account-id");

// Direct API access for fine-grained control
var jobs = await client.Api.DataConnector.V1.Accounts[accountId].Jobs
    .GetAsJobsGetResponseAsync(config => 
    {
        config.QueryParameters.Sort = "asc";
    });

Manager Classes Overview

RequestsManager

Manages data connector requests (extraction definitions):

  • CreateRequestAsync() - Create a new data extraction request
  • ListRequestsAsync() - List all requests with filtering and pagination
  • GetRequestAsync() - Get details of a specific request
  • UpdateRequestAsync() - Update request configuration (e.g., schedule, active status)
  • DeleteRequestAsync() - Delete a request
  • GetRequestJobsAsync() - Get all jobs spawned by a specific request

JobsManager

Manages data connector jobs (actual extraction executions):

  • ListJobsAsync() - List all jobs with filtering and pagination
  • GetJobAsync() - Get details of a specific job
  • CancelJobAsync() - Cancel a running job
  • GetJobDataListingAsync() - List all data files in a completed job

DataManager

Manages data extraction file operations:

  • GetJobDataFileAsync() - Get a signed URL to download a specific data extract file

Key Features

Type-Safe - Uses Guid types for IDs to prevent errors
Async/Await - Full async support with cancellation tokens
IntelliSense - Comprehensive XML documentation
Organized - APIs grouped by functionality for easy discovery
Flexible - Use managers for simplicity or direct API for control

Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.2.1 187 10/28/2025
0.2.0 180 10/28/2025
0.1.18 190 10/26/2025
0.1.17 122 9/6/2025