---
title: "OAPActionChoiceAction"
slug: "api/basket/types/oapactionchoiceaction"
sidebar:
  order: 324
---

<a id="ref-980a112dd206"></a>
<a id="ref-dca868c12b11"></a>
<a id="ref-d16bb8b44468"></a>

## Synopsis

```text
struct OAPActionChoiceAction : OAPAction {
    OAPViewType viewType;
    OAPTileSize *tileSize;
    OAPActionListItem[] actions;
    string *title;
}
```

See also: [`OAPAction`](/pCon/configuratorOnline/specs/api/basket/types/oapaction#ref-88385bf22aed), [`OAPViewType`](/pCon/configuratorOnline/specs/api/basket/types/oapactionchoiceaction#ref-608d4090e5a8), [`OAPTileSize`](/pCon/configuratorOnline/specs/api/basket/types/oapactionchoiceaction#ref-85fb96be81a2), [`OAPActionListItem`](/pCon/configuratorOnline/specs/api/basket/types/oapactionlistitem#ref-e1a311b3da98)

The complex type `OAPActionChoiceAction` used to return information about Action-Choice actions.

```text
viewType
```

<a id="ref-608d4090e5a8"></a>

```text
enum OAPViewType {
    List,
    Tile
}
```

**`tileSize`**

The attribute `tileSize` will be present if and only if attribute `viewType` has value `Tile`.

<a id="ref-85fb96be81a2"></a>

```text
enum OAPTileSize {
    Small,
    Medium,
    Large
}
```

**`actions`**

```text
struct OAPActionListItem {
    OAPAction action;
    string *text;
    string *imageFile;
    string[]  actionIds;
}
```

See also: [OAPAction](/pCon/configuratorOnline/specs/api/basket/types/oapaction#ref-88385bf22aed)

Attribute imageFile, if present, contains an URL for the image file.

The field `actionIds` contains the list of action IDs if multiple action IDs per action list item are enabled (see description of OAP client capability MultiActionChoice § [OAPClientCapability](/pCon/configuratorOnline/specs/api/basket/types/oapclientcapability#ref-15400af929c8)).

**`title`**

This field contains the action choice dialog title. It is present if and only if the dialog has a nonempty title.
