2025-10-21 11:36:43 +03:00
|
|
|
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
2025-10-21 21:43:05 +03:00
|
|
|
Base = "29382aa7-fc4e-81e2-a08a-c0ce0c962918";
|
2025-10-21 11:36:43 +03:00
|
|
|
Image_ = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Binary Data or File path
|
2024-10-01 20:59:19 +03:00
|
|
|
|
|
|
|
|
Image = New Map;
|
|
|
|
|
Image.Insert("Logo", Image_);
|
|
|
|
|
|
|
|
|
|
Properties = New Map;
|
2025-03-06 20:58:59 +03:00
|
|
|
Properties.Insert("Name" , "LLC Vector");
|
|
|
|
|
Properties.Insert("Description" , "OurFirstClient");
|
|
|
|
|
Properties.Insert("Number" , 1);
|
|
|
|
|
Properties.Insert("CreationDate", OPI_Tools.GetCurrentDate());
|
|
|
|
|
Properties.Insert("Image" , Image);
|
|
|
|
|
Properties.Insert("Active" , True);
|
|
|
|
|
Properties.Insert("Website" , "https://vector.ru");
|
|
|
|
|
Properties.Insert("Email" , "mail@vector.ru");
|
|
|
|
|
Properties.Insert("Phone" , "88005553535");
|
|
|
|
|
Properties.Insert("Status" , "New");
|
2024-10-01 20:59:19 +03:00
|
|
|
|
|
|
|
|
Result = OPI_Notion.CreatePageInDatabase(Token, Base, Properties);
|