---
sidebar_position: 1
description: Get selection list and other functions to work with VK in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, VK]
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# Get selection list
 Gets the list of product selections



`Function GetSelectionList(Val Parameters = "") Export`

  | Parameter | CLI option | Type | Required | Description |
  |-|-|-|-|-|
  | Parameters | --auth | Structure Of String | &#x2716; | Authorization parameters. See GetAuthParameters |

  
  Returns:  Map Of KeyAndValue - Array of selection maps



```bsl title="1C:Enterprise/OneScript code example"
    Parameters = GetVKParameters();
    Result     = OPI_VK.GetSelectionList(Parameters);
```
 

 <Tabs>
  
    <TabItem value="bash" label="Bash" default>
        ```bash
            # JSON data can also be passed as a path to a .json file
            
            oint vk GetSelectionList \
             --auth "{'access_token':'***','owner_id':'-218861756','app_id':'51694790','group_id':'218861756'}"
        ```
    </TabItem>
  
    <TabItem value="bat" label="CMD/Bat" default>
        ```batch
            :: JSON data can also be passed as a path to a .json file
            
            oint vk GetSelectionList ^
             --auth "{'access_token':'***','owner_id':'-218861756','app_id':'51694790','group_id':'218861756'}"
        ```
    </TabItem>
</Tabs>


```json title="Result"
[
 {
  "id": 143,
  "owner_id": -218861756,
  "title": "EditedCollection",
  "count": 0,
  "updated_time": 1765194220,
  "is_main": false,
  "is_hidden": false,
  "photo": {
   "album_id": -53,
   "date": 1765194220,
   "id": 457260901,
   "owner_id": -218861756,
   "sizes": [
    {
     "height": 54,
     "type": "s",
     "width": 72,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=72x0"
    },
    {
     "height": 120,
     "type": "m",
     "width": 160,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=160x0"
    },
    {
     "height": 480,
     "type": "x",
     "width": 640,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=640x0"
    },
    {
     "height": 810,
     "type": "y",
     "width": 1080,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=1080x0"
    },
    {
     "height": 960,
     "type": "z",
     "width": 1280,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=1280x0"
    },
    {
     "height": 1920,
     "type": "w",
     "width": 2560,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=2560x0"
    },
    {
     "height": 81,
     "type": "o",
     "width": 108,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=108x0"
    },
    {
     "height": 180,
     "type": "p",
     "width": 240,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=240x0"
    },
    {
     "height": 270,
     "type": "q",
     "width": 360,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=360x0"
    },
    {
     "height": 405,
     "type": "r",
     "width": 540,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=540x0"
    },
    {
     "height": 1920,
     "type": "base",
     "width": 2560,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu"
    }
   ],
   "text": "",
   "user_id": 100,
   "web_view_token": "b173cc8339e5bd3461",
   "has_tags": false,
   "orig_photo": {
    "height": 1920,
    "type": "base",
    "url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpRjHrXrJH8Q9EAJX1Fp7Hp0tC-8.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu",
    "width": 2560
   }
  }
 },
 {
  "id": 142,
  "owner_id": -218861756,
  "title": "EditedCollection",
  "count": 0,
  "updated_time": 1765186738,
  "is_main": false,
  "is_hidden": false,
  "photo": {
   "album_id": -53,
   "date": 1765186737,
   "id": 457260895,
   "owner_id": -218861756,
   "sizes": [
    {
     "height": 54,
     "type": "s",
     "width": 72,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/m6afsXc418ZQf7deru1WLPZ9cVkzUSocXhU9I89Vvb-1s_TvtzeetM_inYvN_mWLnOuyXaYvVIKPkNmOye0ks-wc.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=72x0"
    },
    {
     "height": 120,
     "type": "m",
     "width": 160,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/m6afsXc418ZQf7deru1WLPZ9cVkzUSocXhU9I89Vvb-1s_TvtzeetM_inYvN_mWLnOuyXaYvVIKPkNmOye0ks-wc.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=160x0"
    },
    {
     "height": 480,
     "type": "x",
     "width": 640,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/m6afsXc418ZQf7deru1WLPZ9cVkzUSocXhU9I89Vvb-1s_TvtzeetM_inYvN_mWLnOuyXaYvVIKPkNmOye0ks-wc.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=640x0"
    },
    {
     "height": 810,
     "type": "y",
     "width": 1080,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/m6afsXc418ZQf7deru1WLPZ9cVkzUSocXhU9I89Vvb-1s_TvtzeetM_inYvN_mWLnOuyXaYvVIKPkNmOye0ks-wc.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=1080x0"
    },
    {
     "height": 960,
     "type": "z",
     "width": 1280,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/m6afsXc418ZQf7deru1WLPZ9cVkzUSocXhU9I89Vvb-1s_TvtzeetM_inYvN_mWLnOuyXaYvVIKPkNmOye0ks-wc.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=1280x0"
    },
    {
     "height": 1920,
     "type": "w",
     "width": 2560,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/m6afsXc418ZQf7deru1WLPZ9cVkzUSocXhU9I89Vvb-1s_TvtzeetM_inYvN_mWLnOuyXaYvVIKPkNmOye0ks-wc.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=2560x0"
    },
    {
     "height": 81,
     "type": "o",
     "width": 108,
     "url": "https://sun9-73.userapi.com/s/v1/ig2/m6afsXc418ZQf7deru1WLPZ9cVkzUSocXhU9I89Vvb-1s_TvtzeetM_inYvN_mWLnOuyXaYvVIKPkNmOye0ks-wc.jpg?quality=95&as=32x24,48x36,72x54,108x81,160x120,240x180,360x270,480x360,540x405,640x480,720x540,1080x810,1280x960,1440x1080,2560x1920&from=bu&cs=108x0"
    },
...
```
