
# IPartCatalog2 interface

*No description yet.*

```csharp
public interface IPartCatalog2
```

**Namespace:** SCH · **Assembly:** Altium.SDK.Interfaces

## Properties

| Property | Type | Access | Description |
| --- | --- | --- | --- |
| [ServiceURL](#serviceurl) | `string` | get; set |  |
| [SessionID](#sessionid) | `string` | get; set |  |

### ServiceURL

*No description yet.*

```csharp
string GetServiceURL();
void SetServiceURL(string argValue);
```

**Type:** `string` · **Access:** read/write

### SessionID

*No description yet.*

```csharp
string GetSessionID();
void SetSessionID(string argValue);
```

**Type:** `string` · **Access:** read/write

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [DeletePartChoicesForItem](#deletepartchoicesforitem) | [IPartCatalog2Result](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartCatalog2Result.md) |  |
| [GetAggregatorSupplierList](#getaggregatorsupplierlist) | [IAggregatorSupplierListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IAggregatorSupplierListResult.md) |  |
| [GetComponentDynamicDataListAsync](#getcomponentdynamicdatalistasync) | [IComponentDynamicDataListAsyncResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IComponentDynamicDataListAsyncResult.md) |  |
| [GetItemPartChoiceList](#getitempartchoicelist) | [IPartChoice2ListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2ListResult.md) |  |
| [GetPartChoiceInfoList](#getpartchoiceinfolist) | [IPartChoice2ListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2ListResult.md) |  |
| [GetProviderSupplierOptionsList](#getprovidersupplieroptionslist) | [IProviderSupplierOptionsListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IProviderSupplierOptionsListResult.md) |  |
| [UpsertPartChoiceList](#upsertpartchoicelist) | [IPartCatalog2Result](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartCatalog2Result.md) |  |

### DeletePartChoicesForItem

*No description yet.*

```csharp
IPartCatalog2Result DeletePartChoicesForItem(string argItemGuid);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argItemGuid` | `string` | value |

**Returns:** [IPartCatalog2Result](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartCatalog2Result.md)

Extension method of `IPartCatalog2Helper` (`using SCH;`).

### GetAggregatorSupplierList

*No description yet.*

```csharp
IAggregatorSupplierListResult GetAggregatorSupplierList();
```

**Returns:** [IAggregatorSupplierListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IAggregatorSupplierListResult.md)

Extension method of `IPartCatalog2Helper` (`using SCH;`).

### GetComponentDynamicDataListAsync

*No description yet.*

```csharp
IComponentDynamicDataListAsyncResult GetComponentDynamicDataListAsync(string argItemGUIDs, TDynamicDataParameterSet argParameterList, bool argWaitUntilCompleted, IPartCatalog2AsyncCallback argCallback);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argItemGUIDs` | `string` | value |
| `argParameterList` | [TDynamicDataParameterSet](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/TDynamicDataParameterSet.md) | value |
| `argWaitUntilCompleted` | `bool` | value |
| `argCallback` | [IPartCatalog2AsyncCallback](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartCatalog2AsyncCallback.md) | value |

**Returns:** [IComponentDynamicDataListAsyncResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IComponentDynamicDataListAsyncResult.md)

Extension method of `IPartCatalog2Helper` (`using SCH;`).

### GetItemPartChoiceList

*No description yet.*

```csharp
IPartChoice2ListResult GetItemPartChoiceList(string argItemGuid);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argItemGuid` | `string` | value |

**Returns:** [IPartChoice2ListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2ListResult.md)

Extension method of `IPartCatalog2Helper` (`using SCH;`).

**Examples:** [Extension_PartChoice](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_PartChoice/Source%20Code/Commands.cs#L45)

### GetPartChoiceInfoList

*No description yet.*

```csharp
IPartChoice2ListResult GetPartChoiceInfoList(IPartIdentifier argPartIdentifier);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPartIdentifier` | [IPartIdentifier](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartIdentifier.md) | value |

**Returns:** [IPartChoice2ListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2ListResult.md)

Extension method of `IPartCatalog2Helper` (`using SCH;`).

### GetProviderSupplierOptionsList

*No description yet.*

```csharp
IProviderSupplierOptionsListResult GetProviderSupplierOptionsList();
```

**Returns:** [IProviderSupplierOptionsListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IProviderSupplierOptionsListResult.md)

Extension method of `IPartCatalog2Helper` (`using SCH;`).

### UpsertPartChoiceList

*No description yet.*

```csharp
IPartCatalog2Result UpsertPartChoiceList(IPartChoice2List argPartChoiceList);
```

| Parameter | Type | Passing |
| --- | --- | --- |
| `argPartChoiceList` | [IPartChoice2List](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2List.md) | value |

**Returns:** [IPartCatalog2Result](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartCatalog2Result.md)

Extension method of `IPartCatalog2Helper` (`using SCH;`).

## Returned by

[Utils.GetPartCatalog](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/Utils.md#getpartcatalog)

## Examples

Used in the SDK examples: [Extension_PartChoice](https://github.com/AltiumDeveloper/ad-sdk-examples/blob/5b144f54740a53ec578b3b6c3f902b831e0b1144/Extension_PartChoice/Source%20Code/Commands.cs#L41).
