Get selection list
Gets the list of product selections
- Parameters
- Advanced call ?
Function GetSelectionList(Val Parameters = "") Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Parameters | --auth | Structure Of String | ✖ | Authorization parameters. See GetAuthParameters |
Returns
Map Of KeyAndValue - Array of selection maps
| Parameter | Description |
|---|---|
| proxy | InternetProxy or a structure with fields Protocol, Host, Port, User, Password, UseOSAuthentication |
| timeout | Request execution timeout |
| adv_response | Formats the response as a complete HTTP structure with fields code, body, and headers |
| retries | Number of HTTP request send attempts on 5** status codes or internal client errors |
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Parameters = GetVKParameters();
Result = OPI_VK.GetSelectionList(Parameters);
- Bash
- CMD/Bat
# 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'}"
:: 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'}"
Result
[
{
"id": 145,
"owner_id": -218861756,
"title": "Тестовая подборка",
"count": 0,
"updated_time": 1777145471,
"is_main": false,
"is_hidden": false,
"photo": {
"album_id": -53,
"date": 1777145471,
"id": 457263607,
"owner_id": -218861756,
"sizes": [
{
"height": 54,
"type": "s",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 120,
"type": "m",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 480,
"type": "x",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 810,
"type": "y",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 960,
"type": "z",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 1920,
"type": "w",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 81,
"type": "o",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 180,
"type": "p",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 270,
"type": "q",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 405,
"type": "r",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
},
{
"height": 1920,
"type": "base",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN..."
}
],
"text": "",
"user_id": 100,
"web_view_token": "***",
"has_tags": false,
"orig_photo": {
"height": 1920,
"type": "base",
"url": "https://sun9-73.userapi.com/s/v1/ig2/FjLOt9BgvsSGe4kYuc5NdWDtj3C6MyfePyIIPvH_T91H31i6R6vOHJGIrwG99mN...",
"width": "***"
}
}
},
{
"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": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpR..."
},
{
"height": 120,
"type": "m",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpR..."
},
{
"height": 480,
"type": "x",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpR..."
},
{
"height": 810,
"type": "y",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpR..."
},
{
"height": 960,
"type": "z",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpR..."
},
{
"height": 1920,
"type": "w",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpR..."
},
{
"height": 81,
"type": "o",
"width": "***",
"url": "https://sun9-73.userapi.com/s/v1/ig2/jX8pQIwxk7kepzUmbAa9nGbo1UeePsYGqA3CndIa4HgjW8qSz3bCKAkmCkiqCpR..."
},
...