mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-27 21:48:56 +02:00
22 lines
951 B
Plaintext
22 lines
951 B
Plaintext
Token = "secret_9RsfMrRMqZwqp0Zl0B...";
|
|
Base = "11282aa7-fc4e-810b-ab77-cef5a2a3443e";
|
|
Image_ = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Binary Data or Path to file
|
|
|
|
Image = New Map;
|
|
Image.Insert("Logo", Image_);
|
|
|
|
Properties = New Map;
|
|
Properties.Insert("Name" , "LLC Vector");
|
|
Properties.Insert("Description" , "OurFirstClient");
|
|
Properties.Insert("Number" , 1);
|
|
Properties.Insert("Status" , "Regular");
|
|
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");
|
|
|
|
Result = OPI_Notion.CreatePageInDatabase(Token, Base, Properties);
|