---
title: "getConditionTypes"
slug: "api/basket/operations/getconditiontypes"
sidebar:
  order: 480
---

<a id="ref-6779ec15e2ee"></a>
<a id="ref-4e457268b905"></a>
<a id="ref-69903a06674c"></a>

## Synopsis

```text
ConditionType[] getConditionTypes(SessionId sessionId,
    boolean active,
    string ppName,
    string[]  names)
throws BasketServiceFault;
```

See also: [`ConditionType`](/pCon/configuratorOnline/specs/api/basket/types/conditiontype#ref-cb1129cc51fd), [`SessionId`](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [`BasketServiceFault`](/pCon/configuratorOnline/specs/api/basket/faults/basketservicefault#ref-d5adb74faa1b)

Returns either all or a specified subset of the conditions of the specified pricing procedure.

The `ppName` argument may be an empty string if only one pricing procedure has been added to the basket.
