
# IPartChoicesClient interface

*No description yet.*

```csharp
public interface IPartChoicesClient
```

**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 |
| --- | --- | --- |
| [GetPartChoicesByMultipleComponents](#getpartchoicesbymultiplecomponents) | [IPartChoice2ExtListResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoice2ExtListResult.md) |  |
| [TryModifyPartChoices](#trymodifypartchoices) | `bool` |  |
| [UpsertPartChoiceList](#upsertpartchoicelist) | [IPartChoicesClientResult](https://altiumdeveloper.github.io/ad-sdk-docs/reference/sch/IPartChoicesClientResult.md) |  |

### GetPartChoicesByMultipleComponents

*No description yet.*

```csharp
IPartChoice2ExtListResult GetPartChoicesByMultipleComponents(IPartChoiceComponentIDList argComponentIDList, IPartSourceList argPartSourceList);
```

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

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

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

### TryModifyPartChoices

*No description yet.*

```csharp
bool TryModifyPartChoices(IPartChoice2List partChoices, out string errorMessage);
```

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

**Returns:** `bool`

Extension method of [Utils](https://altiumdeveloper.github.io/ad-sdk-docs/reference/edp/Utils.md) (`using SCH;`).

### UpsertPartChoiceList

*No description yet.*

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

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

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

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

## Returned by

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

## Accepted by

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