---
title: "GetAllItemsOptions"
slug: "api/basket/types/getallitemsoptions"
sidebar:
  order: 272
---

<a id="ref-3136e66f9ee3"></a>
<a id="ref-04fe4e1e21d1"></a>
<a id="ref-86ae313530b3"></a>

## Synopsis

```text
struct GetAllItemsOptions : ItemSelectionOptions {
    boolean *setArticleIds;
    boolean *geometryIds;
    boolean *positionNumbers;
    boolean *basketItems;
    TextFormat? textFormat;
    boolean? preservePlainText;
}
```

See also: [`ItemSelectionOptions`](/pCon/configuratorOnline/specs/api/basket/types/itemselectionoptions#ref-96d714d65dbc), [`TextFormat`](/pCon/configuratorOnline/specs/api/project/types/textformat)

Can be used as argument of operation getAllItems (§[getAllItems](/pCon/configuratorOnline/specs/api/basket/operations/getallitems#ref-83a76f1dbaff)).

The optional attributes `setArticleIds` and `geometryIds` of type `boolean` control whether or not returned instances of complex type [`BasketItem`](/pCon/configuratorOnline/specs/api/basket/types/basketitem) contain set-article IDs (and set-article part IDs) and geometry IDs (if available).

The default value of these options is `false`.

**positionNumbers**

If the value of this field is `true` and field `viewId` contains the ID of a basket view then the basket items returned by operation [`getAllItems`](/pCon/configuratorOnline/specs/api/basket/operations/getallitems) will return the position number of the returned view item.

The default value of this field is `true`.

**basketItems**

If the value of this field is `true` and field `viewId` contains the ID of a basket view then the basket items returned by operation [`getAllItems`](/pCon/configuratorOnline/specs/api/basket/operations/getallitems) do not use field `basketItemIds` to return IDs of referenced basket items, but use field `basketItems` to return complete basket items.

`Options` `setArticleIds` and `geometryIds` may be used to control the content of these nested instances of [`BasketItem`](/pCon/configuratorOnline/specs/api/basket/types/basketitem).

**`textFormat`**

`Value` `None` may be used as `textFormat` with operations [`getAllItems`](/pCon/configuratorOnline/specs/api/basket/operations/getallitems) to suppress the return of item labels.

**`preservePlainText`**

The `option` `preservePlainText` is ignored if option `textFormat` is unset, set to `Plain` or None, or is ignored. Otherwise, if set to true, texts that are stored as plain text are returned unmodified instead of being converted to the requested format.
