Client.GetCollectionIdAsync method
Gets a collection using the project URN. The call is always region-routed; when hubId is supplied the region is resolved from the hub, otherwise from the project URN.
public Task<IResponse<string>> GetCollectionIdAsync(string projectUrn, string hubId = null)
| parameter | description |
|---|---|
| projectUrn | The unique ID of the project. |
| hubId | The unique ID of the hub. |
Return Value
A task that represents the asynchronous operation. The task result contains the collection ID, or a failed response (see IsFailed) when the collection ID cannot be retrieved.
See Also
- interface IResponse<TValue>
- class Client
- namespace Autodesk.DataExchange