---
title: "getLanguages"
slug: "api/basket/operations/getlanguages"
sidebar:
  order: 419
---

<a id="ref-0f5c49adc92c"></a>
<a id="ref-75fea2a7efaa"></a>

## Synopsis

```text
string[] getLanguages(SessionId sessionId) throws BasketServiceFault;
```

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

This operation queries the current list of product data languages as set by the [`setLanguages`](/pCon/configuratorOnline/specs/api/basket/operations/setlanguages) operation. If the `setLanguages` operation has not been invoked yet then the list of product data languages is empty.

A [`BasketServiceFault`](/pCon/configuratorOnline/specs/api/basket/faults/basketservicefault) is returned if any of the following conditions occurs:

- The `sessionId` parameter is not a valid string representation of an UUID or does not represent an open session.
