1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-08-10 22:41:43 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2024-12-20 16:27:30 +03:00
parent 4550bc0cf6
commit 473c8f9e5f
188 changed files with 6750 additions and 6014 deletions

View File

@@ -1927,6 +1927,10 @@ def test_tcp(){
powershell encoding: 'UTF-8', script:'./oint.exe tcp ProcessRequest --address "test" --data "test" --string "test" --debug --test '
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'./oint.exe tcp SendResponse --server "test" --address "test" --data "test" --debug --test '
}
}

View File

@@ -1927,6 +1927,10 @@ def test_tcp(){
powershell encoding: 'UTF-8', script:'./oint.exe tcp ОбработатьЗапрос --address "test" --data "test" --string "test" --debug --test '
}
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
powershell encoding: 'UTF-8', script:'./oint.exe tcp ОтправитьОтвет --server "test" --address "test" --data "test" --debug --test '
}
}

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.ArchiveProducts(ClientID, APIKey, ProductID);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
BarcodesMap = New Map;
BarcodesMap.Insert(1626044001, "112233");

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.CheckProductsImagesUpload(ClientID, APIKey, ProductID);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.CreateBarcodes(ClientID, APIKey, ProductID);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ItemStructure = New Structure;
ItemStructure.Insert("name" , "New imported product");

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Image1 = "https://api.athenaeum.digital/test_data/picture.jpg";
Image2 = "https://api.athenaeum.digital/test_data/picture2.jpg";
Video = "https://rutube.ru/video/c6cc4d620b1d4338901770a44b3e82f4/";

View File

@@ -1,8 +1,8 @@
 OPI_Tools.Pause(30);
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.ArchiveProducts(ClientID, APIKey, ProductID);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
CategoryID = 17054869;
TypeID = 97311;
AttributeID = 85;

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
PromoID = 111111111;
Result = OPI_Ozon.GetAvailablePromoProducts(ClientID, APIKey, PromoID);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetCategoriesAndProductTypesTree(ClientID, APIKey, "EN");

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
CategoryID = 17029016;
TypeID = 970778135;

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
TaskID = "1";
Result = OPI_Ozon.GetCodesUploadStatus(ClientID, APIKey, TaskID);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
PromoID = 111111111;
Result = OPI_Ozon.GetCurrentPromoProducts(ClientID, APIKey, PromoID);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
SKU = 1626044001;
Result = OPI_Ozon.GetDiscountInformation(ClientID, APIKey, SKU);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
TaskID = "1370105976";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
TaskID = "1480888160";
Result = OPI_Ozon.GetProductCreationStatus(ClientID, APIKey, TaskID);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Article = "143210609";
Result = OPI_Ozon.GetProductDescription(ClientID, APIKey, , Article);

View File

@@ -1,8 +1,9 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
IDArray = New Array;
IDArray.Add("143210609");
IDArray.Add("1432106010");
Filter = New Structure;
Filter.Insert("visibility" , "ALL");

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
SKU = 1626044001;
Result = OPI_Ozon.GetProductSubscribersCount(ClientID, APIKey, SKU);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
IDArray = New Array;
IDArray.Add("143210609");

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
SKU = 1626044001;
Result = OPI_Ozon.GetProductsContentRating(ClientID, APIKey, SKU);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Article = "143210609";
Result = OPI_Ozon.GetProductsInformation(ClientID, APIKey, , , Article);

View File

@@ -1,4 +1,4 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetProductsPrices(ClientID, APIKey, New Structure);

View File

@@ -1,4 +1,4 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetProductsRequestsLimits(ClientID, APIKey);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
IDArray = New Array;
IDArray.Add("143210608");

View File

@@ -1,4 +1,4 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetPromotionsList(ClientID, APIKey);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
SKU = 1626044001;
Result = OPI_Ozon.GetRelatedSKUs(ClientID, APIKey, SKU);

View File

@@ -1,4 +1,4 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetWarehousesList(ClientID, APIKey);

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
CategoryID = 17054869;
TypeID = 97311;
AttributeID = 85;

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = 1156646653;
Discount = 10;

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.UnarchiveProducts(ClientID, APIKey, ProductID);

View File

@@ -1,6 +1,6 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Image1 = "https://api.athenaeum.digital/test_data/picture.jpg";
Image2 = "https://api.athenaeum.digital/test_data/picture2.jpg";

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ArticlesMap = New Map;
ArticlesMap.Insert("143210609", "143210612");

View File

@@ -1,5 +1,5 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
AttributesStructure = New Structure("offer_id", "143210609");

View File

@@ -1,6 +1,6 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Prices = New Structure;
Prices.Insert("auto_action_enabled" , "DISABLED");

View File

@@ -1,6 +1,6 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Stocks = New Structure;
Stocks.Insert("offer_id" , "143210610");

View File

@@ -1,6 +1,6 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
 ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Codes = New Array;
Codes.Add("11111111");

View File

@@ -37,8 +37,8 @@ Method at API documentation: [post /v1/description-category/attribute/values](ht
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
CategoryID = 17054869;
TypeID = 97311;
AttributeID = 85;

View File

@@ -35,8 +35,8 @@ Method at API documentation: [post /v1/description-category/tree](https://docs.o
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetCategoriesAndProductTypesTree(ClientID, APIKey, "EN");

View File

@@ -35,8 +35,8 @@ Method at API documentation: [post /v1/description-category/attribute](https://d
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
CategoryID = 17029016;
TypeID = 970778135;

View File

@@ -30,8 +30,8 @@ Method at API documentation: [post /v4/product/info/limit](https://docs.ozon.ru/
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetProductsRequestsLimits(ClientID, APIKey);
```

View File

@@ -36,8 +36,8 @@ Method at API documentation: [post /v1/description-category/attribute/values/sea
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
CategoryID = 17054869;
TypeID = 97311;
AttributeID = 85;

View File

@@ -31,8 +31,8 @@ Method at API documentation: [post /v1/barcode/add](https://docs.ozon.ru/api/sel
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
BarcodesMap = New Map;
BarcodesMap.Insert(1626044001, "112233");

View File

@@ -35,9 +35,9 @@ Method at API documentation: [post /v1/barcode/generate](https://docs.ozon.ru/ap
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.CreateBarcodes(ClientID, APIKey, ProductID);
```

View File

@@ -31,8 +31,8 @@ Method at API documentation: [post /v1/product/info/discounted](https://docs.ozo
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
SKU = 1626044001;
Result = OPI_Ozon.GetDiscountInformation(ClientID, APIKey, SKU);

View File

@@ -32,8 +32,8 @@ Method at API documentation: [post /v4/product/info/prices](https://docs.ozon.ru
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetProductsPrices(ClientID, APIKey, New Structure);
```

View File

@@ -32,8 +32,8 @@ Method at API documentation: [post /v3/product/info/stocks](https://docs.ozon.ru
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
IDArray = New Array;
IDArray.Add("143210608");

View File

@@ -32,8 +32,8 @@ Method at API documentation: [post /v1/product/update/discount](https://docs.ozo
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = 1156646653;
Discount = 10;

View File

@@ -31,9 +31,9 @@ Method at API documentation: [post /v1/product/import/prices](https://docs.ozon.
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Prices = New Structure;
Prices.Insert("auto_action_enabled" , "DISABLED");

View File

@@ -37,9 +37,9 @@ Method at API documentation: [post /v2/products/stocks](https://docs.ozon.ru/api
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Stocks = New Structure;
Stocks.Insert("offer_id" , "143210610");

View File

@@ -32,8 +32,8 @@ Method at API documentation: [post /v1/actions/candidates](https://docs.ozon.ru/
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
PromoID = 111111111;
Result = OPI_Ozon.GetAvailablePromoProducts(ClientID, APIKey, PromoID);

View File

@@ -32,8 +32,8 @@ Method at API documentation: [post /v1/actions/products](https://docs.ozon.ru/ap
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
PromoID = 111111111;
Result = OPI_Ozon.GetCurrentPromoProducts(ClientID, APIKey, PromoID);

View File

@@ -30,8 +30,8 @@ Method at API documentation: [post /v1/actions](https://docs.ozon.ru/api/seller/
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetPromotionsList(ClientID, APIKey);
```

View File

@@ -33,9 +33,9 @@ Method at API documentation: [post /v1/product/archive](https://docs.ozon.ru/api
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.ArchiveProducts(ClientID, APIKey, ProductID);
```

View File

@@ -31,9 +31,9 @@ Method at API documentation: [post /v1/product/pictures/info](https://docs.ozon.
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.CheckProductsImagesUpload(ClientID, APIKey, ProductID);
```

View File

@@ -35,8 +35,8 @@ Method at API documentation: [post /v1/product/import-by-sku](https://docs.ozon.
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ItemStructure = New Structure;
ItemStructure.Insert("name" , "New imported product");

View File

@@ -35,8 +35,8 @@ Method at API documentation: [post /v3/product/import](https://docs.ozon.ru/api/
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Image1 = "https://api.athenaeum.digital/test_data/picture.jpg";
Image2 = "https://api.athenaeum.digital/test_data/picture2.jpg";
Video = "https://rutube.ru/video/c6cc4d620b1d4338901770a44b3e82f4/";

View File

@@ -37,9 +37,9 @@ Method at API documentation: [post /v2/products/delete](https://docs.ozon.ru/api
```bsl title="1C:Enterprise/OneScript code example"
OPI_Tools.Pause(30);
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.ArchiveProducts(ClientID, APIKey, ProductID);

View File

@@ -31,8 +31,8 @@ Method at API documentation: [post /v1/product/upload_digital_codes/info](https:
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
TaskID = "1";
Result = OPI_Ozon.GetCodesUploadStatus(ClientID, APIKey, TaskID);

View File

@@ -31,9 +31,9 @@ Method at API documentation: [post /v1/product/import/info](https://docs.ozon.ru
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
TaskID = "1370105976";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
TaskID = "1480888160";
Result = OPI_Ozon.GetProductCreationStatus(ClientID, APIKey, TaskID);
```

View File

@@ -32,8 +32,8 @@ Method at API documentation: [post /v1/product/info/description](https://docs.oz
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Article = "143210609";
Result = OPI_Ozon.GetProductDescription(ClientID, APIKey, , Article);

View File

@@ -32,11 +32,12 @@ Method at API documentation: [post /v2/product/list](https://docs.ozon.ru/api/se
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
IDArray = New Array;
IDArray.Add("143210609");
IDArray.Add("1432106010");
Filter = New Structure;
Filter.Insert("visibility" , "ALL");

View File

@@ -31,8 +31,8 @@ Method at API documentation: [post /v1/product/info/subscription](https://docs.o
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
SKU = 1626044001;
Result = OPI_Ozon.GetProductSubscribersCount(ClientID, APIKey, SKU);

View File

@@ -32,8 +32,8 @@ Method at API documentation: [post /v3/products/info/attributes](https://docs.oz
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
IDArray = New Array;
IDArray.Add("143210609");

View File

@@ -31,8 +31,8 @@ Method at API documentation: [post /v1/product/rating-by-sku](https://docs.ozon.
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
SKU = 1626044001;
Result = OPI_Ozon.GetProductsContentRating(ClientID, APIKey, SKU);

View File

@@ -41,8 +41,8 @@ Method at API documentation: [post /v2/product/info/list](https://docs.ozon.ru/a
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Article = "143210609";
Result = OPI_Ozon.GetProductsInformation(ClientID, APIKey, , , Article);

View File

@@ -35,8 +35,8 @@ Method at API documentation: [post /v1/product/related-sku/get](https://docs.ozo
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
SKU = 1626044001;
Result = OPI_Ozon.GetRelatedSKUs(ClientID, APIKey, SKU);

View File

@@ -33,9 +33,9 @@ Method at API documentation: [post /v1/product/unarchive](https://docs.ozon.ru/a
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Result = OPI_Ozon.UnarchiveProducts(ClientID, APIKey, ProductID);
```

View File

@@ -40,9 +40,9 @@ Method at API documentation: [post /v1/product/pictures/import](https://docs.ozo
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Image1 = "https://api.athenaeum.digital/test_data/picture.jpg";
Image2 = "https://api.athenaeum.digital/test_data/picture2.jpg";

View File

@@ -31,8 +31,8 @@ Method at API documentation: [post /v1/product/update/offer-id](https://docs.ozo
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ArticlesMap = New Map;
ArticlesMap.Insert("143210609", "143210612");

View File

@@ -33,8 +33,8 @@ Method at API documentation: [post /v1/product/attributes/update](https://docs.o
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
AttributesStructure = New Structure("offer_id", "143210609");

View File

@@ -36,9 +36,9 @@ Method at API documentation: [post /v1/product/upload_digital_codes](https://doc
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1235184552";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
ProductID = "1304122335";
Codes = New Array;
Codes.Add("11111111");

View File

@@ -30,8 +30,8 @@ Method at API documentation: [post /v1/warehouse/list](https://docs.ozon.ru/api/
```bsl title="1C:Enterprise/OneScript code example"
ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
ClientID = "2479669";
APIKey = "09f65e9f-262d-4aca...";
Result = OPI_Ozon.GetWarehousesList(ClientID, APIKey);
```

View File

@@ -0,0 +1,4 @@
{
"label": "Client methods",
"position": "2"
}

View File

@@ -0,0 +1,43 @@
---
sidebar_position: 3
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Await connections
Waiting for connection for the specified time
`Function AwaitConnections(Val TCPServer, Val Timeout = 10) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| TCPServer | - | Arbitrary | ✔ | TCP server object |
| Timeout | - | String, Number | ✖ | Connection timeout |
Returns: Array Of String - Array of addresses of active connections
<br/>
:::tip
If withпandwithto toдtoлюченandй not пуwithт, то ожandданandе toонца таймаута not проandwithходandт
:::
:::caution
**NOCLI:** данный метод недоступен для использования в CLI версии
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,41 @@
---
sidebar_position: 4
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Receive data
Gets the contents of the connection message from the list of active connections
`Function ReceiveData(Val TCPServer, Val Address, Val AsString = False) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| TCPServer | - | Arbitrary | &#x2714; | TCP server object |
| Address | - | String | &#x2714; | The address of the active connection. See AwaitConnections |
| AsString | - | Boolean | &#x2716; | Flag of converting the received data into a string |
Returns: String, BinaryData - Message data as string or binary data
<br/>
:::caution
**NOCLI:** данный метод недоступен для использования в CLI версии
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,40 @@
---
sidebar_position: 5
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Send response
Sends a message (response) to the selected connection
`Function SendResponse(Val TCPServer, Val Address, Val Data) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| TCPServer | --server | Arbitrary | &#x2714; | TCP server object |
| Address | --address | String | &#x2714; | The address of the active connection. See AwaitConnections |
| Data | --data | String, BinaryData | &#x2714; | Response data |
Returns: String - Information about the result of sending
<br/>
:::tip
Parameters with Binary data type can also accept file paths on disk and URLs
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,39 @@
---
sidebar_position: 1
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Start server
Starts a TCP server on the specified port
`Function StartServer(Val Port) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Port | - | Number, String | &#x2714; | Port number |
Returns: String, Arbitrary - Server object or error message
<br/>
:::caution
**NOCLI:** данный метод недоступен для использования в CLI версии
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,39 @@
---
sidebar_position: 2
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Stop server
Explicitly terminates the server process
`Function StopServer(Val TCPServer) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| TCPServer | - | Arbitrary | &#x2714; | TCP server object |
Returns: String - Completion message
<br/>
:::caution
**NOCLI:** данный метод недоступен для использования в CLI версии
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -0,0 +1,4 @@
{
"label": "Server methods",
"position": "3"
}

View File

@@ -1,4 +0,0 @@
{
"label": "Tcp client",
"position": "2"
}

View File

@@ -1,5 +1,5 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
IDТовара = "1235184552";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
IDТовара = "1304122335";
Результат = OPI_Ozon.АрхивироватьТовары(IDКлиента, КлючAPI, IDТовара);

View File

@@ -1,6 +1,6 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
IDТовара = "1235184552";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
IDТовара = "1304122335";
Коды = Новый Массив;
Коды.Добавить("11111111");

View File

@@ -1,5 +1,5 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
СоответствиеАртикулов = Новый Соответствие;
СоответствиеАртикулов.Вставить("143210609", "143210612");

View File

@@ -1,5 +1,5 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
IDКатегории = 17054869;
IDТипа = 97311;
IDХарактеристики = 85;

View File

@@ -1,6 +1,6 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
IDТовара = "1235184552";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
IDТовара = "1304122335";
Картинка1 = "https://api.athenaeum.digital/test_data/picture.jpg";
Картинка2 = "https://api.athenaeum.digital/test_data/picture2.jpg";

View File

@@ -1,6 +1,6 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
IDТовара = "1235184552";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
IDТовара = "1304122335";
Остатки = Новый Структура;
Остатки.Вставить("offer_id" , "143210610");

View File

@@ -1,5 +1,5 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
СтруктураХаракетристик = Новый Структура("offer_id", "143210609");

View File

@@ -1,6 +1,6 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
IDТовара = "1235184552";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
IDТовара = "1304122335";
Цены = Новый Структура;
Цены.Вставить("auto_action_enabled" , "DISABLED");

View File

@@ -1,5 +1,5 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
Результат = OPI_Ozon.ПолучитьДеревоКатегорийИТиповТоваров(IDКлиента, КлючAPI, "EN");

View File

@@ -1,5 +1,5 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
IDАкции = 111111111;
Результат = OPI_Ozon.ПолучитьДоступныеТоварыАкции(IDКлиента, КлючAPI, IDАкции);

View File

@@ -1,5 +1,5 @@
 IDКлиента = "2128753";
КлючAPI = "7cc90d26-33e4-499b...";
 IDКлиента = "2479669";
КлючAPI = "09f65e9f-262d-4aca...";
IDКатегории = 17054869;
IDТипа = 97311;
IDХарактеристики = 85;

Some files were not shown because too many files have changed in this diff Show More