You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
2
docs/en/examples/VK/AddProduct.txt
vendored
2
docs/en/examples/VK/AddProduct.txt
vendored
@@ -2,7 +2,7 @@
|
||||
|
||||
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Binary or File path
|
||||
Image2 = "https://hut.openintegrations.dev/test_data/picture2.jpg"; // URL, Binary or File path
|
||||
Selection = "136";
|
||||
Selection = "138";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "3785";
|
||||
Property = "4016";
|
||||
OptionArray = New Array;
|
||||
OptionArray.Add("Yellow");
|
||||
OptionArray.Add("Blue");
|
||||
@@ -10,5 +10,4 @@
|
||||
|
||||
Result = OPI_VK.AddProductPropertyVariant(Value, Property, Parameters);
|
||||
|
||||
FunctionParameters.Insert(ParameterName, VariantID);
|
||||
EndDo;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "11567997";
|
||||
Selection = "136";
|
||||
Product = "11699769";
|
||||
Selection = "138";
|
||||
|
||||
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/CloseDiscussion.txt
vendored
2
docs/en/examples/VK/CloseDiscussion.txt
vendored
@@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "54010476";
|
||||
DiscussionID = "54059973";
|
||||
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);
|
||||
|
||||
12
docs/en/examples/VK/CreateAd.txt
vendored
12
docs/en/examples/VK/CreateAd.txt
vendored
@@ -1,10 +1,14 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
CampaignNumber = "1031461042";
|
||||
CampaignNumber = "1031506955";
|
||||
DailyLimit = 150;
|
||||
CategoryNumber = 126;
|
||||
PostID = "9028";
|
||||
PostID = "9171";
|
||||
AccountID = "1607951446";
|
||||
|
||||
Result = OPI_VK.CreateAd(CampaignNumber, DailyLimit, CategoryNumber, PostID, AccountID,
|
||||
Parameters);
|
||||
Result = OPI_VK.CreateAd(CampaignNumber
|
||||
, DailyLimit
|
||||
, CategoryNumber
|
||||
, PostID
|
||||
, AccountID
|
||||
, Parameters);
|
||||
|
||||
23
docs/en/examples/VK/CreateProductWithProp.txt
vendored
23
docs/en/examples/VK/CreateProductWithProp.txt
vendored
@@ -2,8 +2,8 @@
|
||||
|
||||
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg";
|
||||
Image2 = "https://hut.openintegrations.dev/test_data/picture2.jpg";
|
||||
PropVariant1 = "7209";
|
||||
PropVariant2 = "7210";
|
||||
PropVariant1 = "7484";
|
||||
PropVariant2 = "7485";
|
||||
|
||||
ImageArray = New Array;
|
||||
ImageArray.Add(Image1);
|
||||
@@ -29,22 +29,3 @@
|
||||
Product.Insert("PropertyValues" , PropVariant1);
|
||||
|
||||
Result = OPI_VK.AddProduct(Product, , Parameters);
|
||||
|
||||
OPI_TestDataRetrieval.Check_VKProduct(Result);
|
||||
|
||||
ProductID = Result["response"]["market_item_id"];
|
||||
OPI_TestDataRetrieval.WriteParameter("VK_MarketItemID2", ProductID);
|
||||
FunctionParameters.Insert("VK_MarketItemID2", ProductID);
|
||||
|
||||
Product.Insert("Name" , "Test product (another)");
|
||||
Product.Insert("PropertyValues", PropVariant2);
|
||||
|
||||
Result = OPI_VK.AddProduct(Product, , Parameters);
|
||||
|
||||
OPI_TestDataRetrieval.Check_VKProduct(Result);
|
||||
|
||||
ProductID = Result["response"]["market_item_id"];
|
||||
OPI_TestDataRetrieval.WriteParameter("VK_MarketItemID3", ProductID);
|
||||
FunctionParameters.Insert("VK_MarketItemID3", ProductID);
|
||||
|
||||
OPI_Tools.Pause(5);
|
||||
|
||||
2
docs/en/examples/VK/CreateStory.txt
vendored
2
docs/en/examples/VK/CreateStory.txt
vendored
@@ -7,5 +7,3 @@
|
||||
Image = New BinaryData(TFN);
|
||||
|
||||
Result = OPI_VK.CreateStory(Image, URL, Parameters);
|
||||
|
||||
Result = OPI_VK.CreateStory(TFN, , Parameters);
|
||||
|
||||
2
docs/en/examples/VK/DeleteAlbum.txt
vendored
2
docs/en/examples/VK/DeleteAlbum.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
AlbumID = "309542423";
|
||||
AlbumID = "309772305";
|
||||
|
||||
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/DeleteCollection.txt
vendored
2
docs/en/examples/VK/DeleteCollection.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Selection = "136";
|
||||
Selection = "138";
|
||||
|
||||
Result = OPI_VK.DeleteSelection(Selection, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/DeleteImage.txt
vendored
2
docs/en/examples/VK/DeleteImage.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageID = "457257894";
|
||||
ImageID = "457258189";
|
||||
|
||||
Result = OPI_VK.DeleteImage(ImageID, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/DeletePost.txt
vendored
2
docs/en/examples/VK/DeletePost.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "9028";
|
||||
PostID = "9171";
|
||||
|
||||
Result = OPI_VK.DeletePost(PostID, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/DeleteProduct.txt
vendored
2
docs/en/examples/VK/DeleteProduct.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "11567997";
|
||||
Product = "11699769";
|
||||
|
||||
Result = OPI_VK.DeleteProduct(Product, Parameters);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "3785";
|
||||
Property = "4016";
|
||||
|
||||
Result = OPI_VK.DeleteProductProperty(Property, Parameters);
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Option = "7209";
|
||||
Option = "7484";
|
||||
|
||||
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
|
||||
|
||||
OPI_TestDataRetrieval.Check_VKTrue(Result);
|
||||
|
||||
OPI_Tools.Pause(5);
|
||||
|
||||
2
docs/en/examples/VK/EditProduct.txt
vendored
2
docs/en/examples/VK/EditProduct.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "11567997";
|
||||
Product = "11699769";
|
||||
|
||||
ProductDescription = New Map;
|
||||
ProductDescription.Insert("Name", "EditedTestProduct");
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "EditedCollection";
|
||||
Selection = "136";
|
||||
Selection = "138";
|
||||
|
||||
Result = OPI_VK.EditProductCollection(Name, Selection, , , , Parameters);
|
||||
|
||||
OPI_TestDataRetrieval.Check_VKTrue(Result);
|
||||
|
||||
OPI_Tools.Pause(5);
|
||||
|
||||
2
docs/en/examples/VK/EditProductProperty.txt
vendored
2
docs/en/examples/VK/EditProductProperty.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Name = "Color (change.)";
|
||||
Property = "3785";
|
||||
Property = "4016";
|
||||
|
||||
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Property = "3785";
|
||||
Option = "7209";
|
||||
Property = "4016";
|
||||
Option = "7484";
|
||||
Value = "New variant name";
|
||||
|
||||
Result = OPI_VK.EditProductPropertyVariant(Value, Property, Option, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/FormKeyboard.txt
vendored
2
docs/en/examples/VK/FormKeyboard.txt
vendored
@@ -2,4 +2,4 @@
|
||||
ButtonArray.Add("Button 1");
|
||||
ButtonArray.Add("Button 2");
|
||||
|
||||
Keyboard = OPI_VK.FormKeyboard(ButtonArray);
|
||||
Result = OPI_VK.FormKeyboard(ButtonArray);
|
||||
|
||||
4
docs/en/examples/VK/GetProductsByID.txt
vendored
4
docs/en/examples/VK/GetProductsByID.txt
vendored
@@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "11568001";
|
||||
Item2 = "11568002";
|
||||
Item1 = "11699773";
|
||||
Item2 = "11699774";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
||||
2
docs/en/examples/VK/GetSelectionsByID.txt
vendored
2
docs/en/examples/VK/GetSelectionsByID.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
Selection = "136";
|
||||
Selection = "138";
|
||||
|
||||
Result = OPI_VK.GetSelectionsByID(Selection, Parameters);
|
||||
|
||||
4
docs/en/examples/VK/GroupProducts.txt
vendored
4
docs/en/examples/VK/GroupProducts.txt
vendored
@@ -1,7 +1,7 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Item1 = "11568001";
|
||||
Item2 = "11568002";
|
||||
Item1 = "11699773";
|
||||
Item2 = "11699774";
|
||||
|
||||
ProductsArray = New Array;
|
||||
ProductsArray.Add(Item1);
|
||||
|
||||
2
docs/en/examples/VK/LikePost.txt
vendored
2
docs/en/examples/VK/LikePost.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Parameters = GetVKParameters();
|
||||
PostID = "9028";
|
||||
PostID = "9171";
|
||||
|
||||
Result = OPI_VK.LikePost(PostID, , Parameters);
|
||||
|
||||
2
docs/en/examples/VK/OpenDiscussion.txt
vendored
2
docs/en/examples/VK/OpenDiscussion.txt
vendored
@@ -1,3 +1,3 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "54010476";
|
||||
DiscussionID = "54059973";
|
||||
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/PostToDiscussion.txt
vendored
2
docs/en/examples/VK/PostToDiscussion.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Parameters = GetVKParameters();
|
||||
DiscussionID = "54010476";
|
||||
DiscussionID = "54059973";
|
||||
Message = "I like yellow more";
|
||||
|
||||
Result = OPI_VK.WriteInDiscussion(DiscussionID, Message, Parameters);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
|
||||
Product = "11567997";
|
||||
Selection = "136";
|
||||
Product = "11699769";
|
||||
Selection = "138";
|
||||
|
||||
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);
|
||||
|
||||
2
docs/en/examples/VK/SavePictureToAlbum.txt
vendored
2
docs/en/examples/VK/SavePictureToAlbum.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
ImageDescription = "AutoTestImage";
|
||||
AlbumID = "309542423";
|
||||
AlbumID = "309772305";
|
||||
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, File path or Binary Data
|
||||
TFN = GetTempFileName("png");
|
||||
|
||||
2
docs/en/examples/VK/WriteComment.txt
vendored
2
docs/en/examples/VK/WriteComment.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Parameters = GetVKParameters();
|
||||
Text = "NewComment";
|
||||
PostID = "9028";
|
||||
PostID = "9171";
|
||||
WallID = Parameters["owner_id"];
|
||||
|
||||
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);
|
||||
|
||||
Reference in New Issue
Block a user