You've already forked OpenIntegrations
							
							
				mirror of
				https://github.com/Bayselonarrend/OpenIntegrations.git
				synced 2025-10-30 23:47:46 +02:00 
			
		
		
		
	Правки доков
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/os/docs_main.os
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/os/docs_main.os
									
									
									
									
										vendored
									
									
								
							| @@ -524,6 +524,8 @@ | ||||
|  | ||||
| 	КонецЕсли; | ||||
|  | ||||
| 	Результат = СокрЛП(Результат); | ||||
|  | ||||
| 	Если ЗначениеЗаполнено(Результат) Тогда | ||||
|  | ||||
| 		Результат = "```bsl title=""Пример кода"""  | ||||
| @@ -678,8 +680,9 @@ | ||||
|  | ||||
| 	КонецЦикла; | ||||
|  | ||||
| 	Результат = СокрЛП(Результат); | ||||
| 	 | ||||
| 	Если ЗначениеЗаполнено(Результат) Тогда | ||||
| 		Результат = Лев(Результат, СтрДлина(Результат) - 1); | ||||
|  | ||||
| 		Результат = "```json title=""Результат""" | ||||
| 			+ Символы.ПС | ||||
| @@ -689,7 +692,7 @@ | ||||
| 		 | ||||
| 	КонецЕсли; | ||||
|  | ||||
| 	Возврат СокрЛП(Результат); | ||||
| 	Возврат Результат; | ||||
|  | ||||
| КонецФункции | ||||
|  | ||||
|   | ||||
| @@ -28,15 +28,13 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Record = "recV6DxeLQMBNJrUk"; | ||||
|  Text = "TestComment"; | ||||
|   | ||||
|  Response = OPI_Airtable.CreateComment(Token, Base, Table, Record, Text); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -48,7 +46,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "id": "comL1oGEDJvIQlMs1", | ||||
|  "author": { | ||||
|  "id": "usrFlaAHlTfYWAbVW", | ||||
|   | ||||
| @@ -28,15 +28,13 @@ sidebar_position: 4 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Record = "recV6DxeLQMBNJrUk"; | ||||
|  Comment = "comL1oGEDJvIQlMs1"; | ||||
|   | ||||
|  Response = OPI_Airtable.DeleteComment(Token, Base, Table, Record, Comment); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -48,7 +46,7 @@ sidebar_position: 4 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "id": "comL1oGEDJvIQlMs1", | ||||
|  "deleted": true | ||||
|  } | ||||
|   | ||||
| @@ -29,8 +29,7 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Record = "recV6DxeLQMBNJrUk"; | ||||
|  Comment = "comL1oGEDJvIQlMs1"; | ||||
| @@ -38,7 +37,6 @@ sidebar_position: 3 | ||||
|   | ||||
|  Response = OPI_Airtable.EditComment(Token, Base, Table, Record, Comment, Text); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -50,7 +48,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "id": "comL1oGEDJvIQlMs1", | ||||
|  "author": { | ||||
|  "id": "usrFlaAHlTfYWAbVW", | ||||
|   | ||||
| @@ -28,14 +28,12 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Record = "recV6DxeLQMBNJrUk"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetComments(Token, Base, Table, Record); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -47,7 +45,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "comments": [ | ||||
|  { | ||||
|  "id": "comL1oGEDJvIQlMs1", | ||||
|   | ||||
| @@ -27,8 +27,7 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Numeric = 10; | ||||
|  StringType = "Hello"; | ||||
| @@ -42,7 +41,6 @@ sidebar_position: 3 | ||||
|   | ||||
|  Response = OPI_Airtable.CreatePosts(Token, Base, Table, Data); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -54,7 +52,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "records": [ | ||||
|  { | ||||
|  "id": "recjHNKNZBWLZkZ7A", | ||||
|   | ||||
| @@ -27,8 +27,7 @@ sidebar_position: 4 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|   | ||||
|  Records = New Array; | ||||
| @@ -37,7 +36,6 @@ sidebar_position: 4 | ||||
|   | ||||
|  Response = OPI_Airtable.DeletePosts(Token, Base, Table, Record); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -49,7 +47,7 @@ sidebar_position: 4 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "records": [ | ||||
|  { | ||||
|  "deleted": true, | ||||
|   | ||||
| @@ -27,13 +27,11 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetListOfRecords(Token, Base, Table, Indent); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -45,7 +43,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "records": [ | ||||
|  { | ||||
|  "id": "recGyJ0MlN1H3GMuN", | ||||
|   | ||||
| @@ -27,14 +27,12 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Record = "recV6DxeLQMBNJrUk"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetRecord(Token, Base, Table, Record); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -46,7 +44,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "id": "recV6DxeLQMBNJrUk", | ||||
|  "createdTime": "2024-05-10T19:39:51Z", | ||||
|  "fields": { | ||||
|   | ||||
| @@ -28,8 +28,7 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  TableName = "TestTable2"; | ||||
|  Description = "NewTable"; | ||||
|   | ||||
| @@ -45,7 +44,6 @@ sidebar_position: 1 | ||||
|   | ||||
|  Response = OPI_Airtable.CreateTable(Token, Base, Name, FieldArray, Description); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -57,7 +55,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "id": "tblT64aWyrMUAbUmF", | ||||
|  "name": "TestTable2", | ||||
|  "description": "NewTable", | ||||
|   | ||||
| @@ -28,15 +28,13 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Name = "Test table 2 (change.)"; | ||||
|  Description = "New table (change.)"; | ||||
|   | ||||
|  Response = OPI_Airtable.ModifyTable(Token, Base, Table, Name, Description); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -48,7 +46,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "id": "tblT64aWyrMUAbUmF", | ||||
|  "name": "Test table 2 (change.)", | ||||
|  "description": "New table (change.)", | ||||
|   | ||||
| @@ -27,8 +27,7 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Workspace = "wspdf8yl1yZz3PmWZ"; | ||||
| Workspace = "wspdf8yl1yZz3PmWZ"; | ||||
|  Name = "TestDatabase"; | ||||
|   | ||||
|  FieldArray = New Array; | ||||
| @@ -42,7 +41,6 @@ sidebar_position: 3 | ||||
|   | ||||
|  Response = OPI_Airtable.CreateDatabase(Token, Workspace, Name, TableCollection); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -54,7 +52,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "id": "applEsyJmBRm12AuN", | ||||
|  "tables": [ | ||||
|  { | ||||
|   | ||||
| @@ -25,12 +25,10 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetDatabaseTables(Token, Base); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -42,7 +40,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "tables": [ | ||||
|  { | ||||
|  "id": "tblqZzW78Rvsdt9gt", | ||||
|   | ||||
| @@ -25,11 +25,8 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|   | ||||
|  Response = OPI_Airtable.GetListOfBases(Token); //Map | ||||
| Response = OPI_Airtable.GetListOfBases(Token); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -41,7 +38,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "bases": [ | ||||
|  { | ||||
|  "id": "appGarzKZ0lu3gzoa", | ||||
|   | ||||
| @@ -27,15 +27,13 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Name = String(New UUID); | ||||
|  Field = OPI_Airtable.GetNumberField(Name); | ||||
|   | ||||
|  Response = OPI_Airtable.CreateField(Token, Base, Table, FieldStructure); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -47,7 +45,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "type": "number", | ||||
|  "options": { | ||||
|  "precision": 0 | ||||
|   | ||||
| @@ -24,12 +24,10 @@ sidebar_position: 5 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Name = "Attachment"; | ||||
| Name = "Attachment"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetAttachmentField(Name); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -41,7 +39,7 @@ sidebar_position: 5 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "name": "Attachment", | ||||
|  "type": "multipleAttachments" | ||||
|  } | ||||
|   | ||||
| @@ -24,12 +24,10 @@ sidebar_position: 6 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Name = "Checkbox"; | ||||
| Name = "Checkbox"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetCheckboxField(Name); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -41,7 +39,7 @@ sidebar_position: 6 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "name": "Checkbox", | ||||
|  "type": "checkbox", | ||||
|  "options": { | ||||
|   | ||||
| @@ -24,12 +24,10 @@ sidebar_position: 7 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Name = "Date"; | ||||
| Name = "Date"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetDateField(Name); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -41,7 +39,7 @@ sidebar_position: 7 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "name": "Date", | ||||
|  "type": "date", | ||||
|  "options": { | ||||
|   | ||||
| @@ -24,12 +24,10 @@ sidebar_position: 8 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Name = "Email"; | ||||
| Name = "Email"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetEmailField(Name); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -41,7 +39,7 @@ sidebar_position: 8 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "name": "Email", | ||||
|  "type": "email" | ||||
|  } | ||||
|   | ||||
| @@ -24,12 +24,10 @@ sidebar_position: 10 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Name = "Link"; | ||||
| Name = "Link"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetLinkField(Name); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -41,7 +39,7 @@ sidebar_position: 10 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "name": "Link", | ||||
|  "type": "url" | ||||
|  } | ||||
|   | ||||
| @@ -25,13 +25,11 @@ sidebar_position: 4 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Name = "Number"; | ||||
| Name = "Number"; | ||||
|  Precision = "0"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetNumberField(Name, Precision); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -43,7 +41,7 @@ sidebar_position: 4 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "name": "Number", | ||||
|  "type": "number", | ||||
|  "options": { | ||||
|   | ||||
| @@ -24,12 +24,10 @@ sidebar_position: 9 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Name = "Phone"; | ||||
| Name = "Phone"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetPhoneField(Name); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -41,7 +39,7 @@ sidebar_position: 9 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "name": "Phone", | ||||
|  "type": "phoneNumber" | ||||
|  } | ||||
|   | ||||
| @@ -24,12 +24,10 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Name = "String"; | ||||
| Name = "String"; | ||||
|   | ||||
|  Response = OPI_Airtable.GetStringField(Name); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -41,7 +39,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "name": "String", | ||||
|  "type": "richText" | ||||
|  } | ||||
|   | ||||
| @@ -29,8 +29,7 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|   | ||||
|  Base = "apptm8Xqo7TwMaipQ"; | ||||
| Base = "apptm8Xqo7TwMaipQ"; | ||||
|  Table = "tbl9G4jVoTJpxYwSY"; | ||||
|  Field = "fld3IbFtHZtBHQwsk"; | ||||
|  Name = String(New UUID) + "(change.)"; | ||||
| @@ -38,7 +37,6 @@ sidebar_position: 2 | ||||
|   | ||||
|  Response = OPI_Airtable.ModifyField(Token, Base, Table, Field, Name, Description); //Map | ||||
|  Response = OPI_Tools.JSONString(Response); //JSON string | ||||
|   | ||||
| ``` | ||||
| 	 | ||||
|  | ||||
| @@ -50,7 +48,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "type": "number", | ||||
|  "options": { | ||||
|  "precision": 0 | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "504"; | ||||
|   | ||||
|  Text = "Task impossible, let's split up"; | ||||
| @@ -53,7 +53,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": 1376, | ||||
|  "time": { | ||||
|  "start": 1720186702.77405, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 7 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  CommentID = "1718"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.CreateResultFromComment(URL, CommentID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 7 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "id": 130, | ||||
|  "taskId": 432, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 8 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  CommentID = "1718"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.DeleteResultFromComment(URL, CommentID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 8 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": null, | ||||
|  "time": { | ||||
|  "start": 1720295536.04613, | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 5 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "504"; | ||||
|  CommentID = "1718"; | ||||
|   | ||||
| @@ -50,7 +50,7 @@ sidebar_position: 5 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1720295541.27592, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 6 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "504"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetResultsList(URL, TaskID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 6 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": [ | ||||
|  { | ||||
|  "id": 130, | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  CommentID = "1718"; | ||||
|  TaskID = "504"; | ||||
|   | ||||
| @@ -50,7 +50,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "POST_MESSAGE_HTML": null, | ||||
|  "ID": "1496", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "504"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetTaskCommentsList(URL, TaskID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": [ | ||||
|  { | ||||
|  "POST_MESSAGE_HTML": null, | ||||
|   | ||||
| @@ -28,7 +28,7 @@ sidebar_position: 4 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "504"; | ||||
|  CommentID = "1718"; | ||||
|   | ||||
| @@ -55,7 +55,7 @@ sidebar_position: 4 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1720186705.11133, | ||||
|   | ||||
| @@ -30,7 +30,7 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Text = "Comment for post"; | ||||
| Text = "Comment for post"; | ||||
|  PostID = "260"; | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
| @@ -53,7 +53,7 @@ Method at API documentation: [log.blogcomment.add](https://dev.1c-bitrix.ru/rest | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": 168, | ||||
|  "time": { | ||||
|  "start": 1720186639.67208, | ||||
|   | ||||
| @@ -30,7 +30,7 @@ Method at API documentation: [log.blogpost.share](https://dev.1c-bitrix.ru/rest_ | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Visibility = "UA"; | ||||
| Visibility = "UA"; | ||||
|  PostID = "124"; | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
| @@ -52,7 +52,7 @@ Method at API documentation: [log.blogpost.share](https://dev.1c-bitrix.ru/rest_ | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1718473318.17435, | ||||
|   | ||||
| @@ -33,7 +33,7 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Text = "Text of post"; | ||||
| Text = "Text of post"; | ||||
|  Title = "Post title"; | ||||
|  Image1 = "https://openintegrations.dev/test_data/picture.jpg"; | ||||
|  Image2 = "https://openintegrations.dev/test_data/picture2.jpg"; | ||||
| @@ -63,7 +63,7 @@ Method at API documentation: [log.blogpost.add](https://dev.1c-bitrix.ru/rest_he | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": 18, | ||||
|  "time": { | ||||
|  "start": 1718130364.82176, | ||||
|   | ||||
| @@ -29,7 +29,7 @@ Method at API documentation: [log.blogpost.delete](https://dev.1c-bitrix.ru/rest | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  PostID = "122"; | ||||
| PostID = "122"; | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.DeletePost(URL, PostID); | ||||
| @@ -51,7 +51,7 @@ Method at API documentation: [log.blogpost.delete](https://dev.1c-bitrix.ru/rest | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1718130367.40777, | ||||
|   | ||||
| @@ -29,7 +29,7 @@ Method at API documentation: [log.blogpost.getusers.important](https://dev.1c-bi | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  PostID = "122"; | ||||
| PostID = "122"; | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetImportantPostViewers(URL, PostID); | ||||
| @@ -50,7 +50,7 @@ Method at API documentation: [log.blogpost.getusers.important](https://dev.1c-bi | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": [ | ||||
|  "1" | ||||
|  ], | ||||
|   | ||||
| @@ -30,7 +30,7 @@ Method at API documentation: [log.blogpost.get](https://dev.1c-bitrix.ru/rest_he | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  PostID = "124"; | ||||
| PostID = "124"; | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetPosts(URL, PostID); | ||||
| @@ -51,7 +51,7 @@ Method at API documentation: [log.blogpost.get](https://dev.1c-bitrix.ru/rest_he | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": [ | ||||
|  { | ||||
|  "ID": "40", | ||||
|   | ||||
| @@ -33,7 +33,7 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Text = "New post text"; | ||||
| Text = "New post text"; | ||||
|  Title = "New post title"; | ||||
|  Image1 = "https://openintegrations.dev/test_data/picture.jpg"; | ||||
|  PostID = "124"; | ||||
| @@ -62,7 +62,7 @@ Method at API documentation: [log.blogpost.update](https://dev.1c-bitrix.ru/rest | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": 86, | ||||
|  "time": { | ||||
|  "start": 1718473311.53949, | ||||
|   | ||||
| @@ -30,7 +30,7 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Name = "New stage"; | ||||
| Name = "New stage"; | ||||
|  Color = "0026FF"; | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
| @@ -57,7 +57,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": 132, | ||||
|  "time": { | ||||
|  "start": 1720600360.58899, | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  StageID = "126"; | ||||
| StageID = "126"; | ||||
|   | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
| @@ -51,7 +51,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1720600367.83205, | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetKanbanStages(URL,, True); | ||||
|   | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "20": { | ||||
|  "ID": "20", | ||||
|   | ||||
| @@ -29,7 +29,7 @@ sidebar_position: 4 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  TaskID = "528"; | ||||
| TaskID = "528"; | ||||
|  StageID = "126"; | ||||
|   | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| @@ -54,7 +54,7 @@ sidebar_position: 4 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1720600364.06058, | ||||
|   | ||||
| @@ -25,7 +25,7 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Domain = "b24-ar17wx.bitrix24.by"; | ||||
| Domain = "b24-ar17wx.bitrix24.by"; | ||||
|  ClientID = "local.6667fc928a50a9.70414732"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetAppAuthLink(Domain, ClientID); | ||||
| @@ -40,5 +40,5 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  "https://b24-ar17wx.bitrix24.by/oauth/authorize/?client_id=local.6667fc928a50a9.70414732" | ||||
| "https://b24-ar17wx.bitrix24.by/oauth/authorize/?client_id=local.6667fc928a50a9.70414732" | ||||
| ``` | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  ClientID = "local.6667fc928a50a9.70414732"; | ||||
| ClientID = "local.6667fc928a50a9.70414732"; | ||||
|  ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V..."; | ||||
|  Code = "2b096866006e9f06006b12e400000001000007fc1bc681f7ed7f13f2d449980628008c"; | ||||
|   | ||||
| @@ -42,7 +42,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "error": "expired_token", | ||||
|  "error_description": "The authorization token provided has expired." | ||||
| } | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  ClientID = "local.6667fc928a50a9.70414732"; | ||||
| ClientID = "local.6667fc928a50a9.70414732"; | ||||
|  ClientSecret = "ZeKyeYIgy2NsHZqsIHY6GfG1V..."; | ||||
|  Refresh = "a95e9b66006e9f06006b12e400000001000..."; | ||||
|   | ||||
| @@ -42,7 +42,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "access_token": "63a46866006e9f06006b12e4000000010000071997e1f54c1043e9f7193734af3018df", | ||||
|  "expires": 1718133859, | ||||
|  "expires_in": 3600, | ||||
|   | ||||
| @@ -28,7 +28,7 @@ Method at API documentation: [server_time](https://dev.1c-bitrix.ru/rest_help/ge | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.ServerTime(URL); | ||||
|   | ||||
| @@ -48,7 +48,7 @@ Method at API documentation: [server_time](https://dev.1c-bitrix.ru/rest_help/ge | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": "2024-06-13T18:40:54+00:00", | ||||
|  "time": { | ||||
|  "start": 1718304054.57877, | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 7 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  StorageID = 3; | ||||
| StorageID = 3; | ||||
|  Name = "New catalog"; | ||||
|  Filename2 = "New folder 2"; | ||||
|   | ||||
| @@ -52,7 +52,7 @@ sidebar_position: 7 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": 574, | ||||
|  "NAME": "New catalog", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 9 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  FolderID = "2490"; | ||||
| FolderID = "2490"; | ||||
|  Name = "New subfolder"; | ||||
|  Filename2 = "New subfolder 2"; | ||||
|   | ||||
| @@ -52,7 +52,7 @@ sidebar_position: 9 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": 850, | ||||
|  "NAME": "New subfolder", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 12 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FileID = "488"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.DeleteFile(URL, FileID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 12 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1718783933.86753, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 13 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FolderID = "480"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.DeleteFolder(URL, FolderID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 13 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1719047257.50616, | ||||
|   | ||||
| @@ -25,7 +25,7 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "b24-ar17wx.bitrix24.by"; | ||||
| URL = "b24-ar17wx.bitrix24.by"; | ||||
|  Token = "b9df7366006e9f06006b12e400000001000..."; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetAppSotrage(URL, Token); | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 21 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FileID = "2484"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetFileExternalLink(URL, FileID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 21 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": "https://b24-ar17wx.bitrix24.by/~pT3DD", | ||||
|  "time": { | ||||
|  "start": 1720017752.7023, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 20 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FileID = "2484"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetFileInformation(URL, FileID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 20 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "1716", | ||||
|  "NAME": "Picture1.jpg", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 14 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FolderID = "2490"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetFolderExternalLink(URL, FolderID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 14 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": "https://b24-ar17wx.bitrix24.by/~hWalI", | ||||
|  "time": { | ||||
|  "start": 1719472796.12325, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 27 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetFolderFilterStructure(URL); | ||||
|   | ||||
| @@ -46,7 +46,7 @@ sidebar_position: 27 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "ID": "", | ||||
|  "NAME": "", | ||||
|  "TYPE": "", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 8 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FolderID = "2490"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetFolderInformation(URL, FolderID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 8 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "1722", | ||||
|  "NAME": "New catalog", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 15 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FolderID = "2490"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetFolderItems(URL, FolderID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 15 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": [ | ||||
|  { | ||||
|  "ID": "848", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 5 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  StorageID = 3; | ||||
|  Result = OPI_Bitrix24.GetStorageObjects(URL, StorageID); | ||||
|   | ||||
| @@ -46,7 +46,7 @@ sidebar_position: 5 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": [ | ||||
|  { | ||||
|  "ID": "568", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  StorageID = 3; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetStorage(URL, StorageID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "3", | ||||
|  "NAME": "Main drive", | ||||
|   | ||||
| @@ -25,7 +25,7 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  Result = OPI_Bitrix24.GetStoragesList(URL); | ||||
|   | ||||
|   | ||||
| @@ -44,7 +44,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": [ | ||||
|  { | ||||
|  "ID": "3", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 24 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  FolderID = "2488"; | ||||
| FolderID = "2488"; | ||||
|  FileID = "2484"; | ||||
|   | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| @@ -54,7 +54,7 @@ sidebar_position: 24 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": 1744, | ||||
|  "NAME": "New file name.jpg", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 10 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  DestinationID = "2492"; | ||||
| DestinationID = "2492"; | ||||
|  FolderID = "2494"; | ||||
|   | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| @@ -55,7 +55,7 @@ sidebar_position: 10 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": 1732, | ||||
|  "NAME": "New subfolder 2", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 22 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FileID = "2484"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.MarkFileAsDeleted(URL, FileID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 22 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "1716", | ||||
|  "NAME": "New file name.jpg", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 16 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FolderID = "2490"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.MarkFolderAsDeleted(URL, FolderID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 16 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "936", | ||||
|  "NAME": "New catalog", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 25 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  FolderID = "2492"; | ||||
| FolderID = "2492"; | ||||
|  FileID = "2484"; | ||||
|   | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| @@ -54,7 +54,7 @@ sidebar_position: 25 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "1716", | ||||
|  "NAME": "New file name.jpg", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 11 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  DestinationID = "2488"; | ||||
| DestinationID = "2488"; | ||||
|  FolderID = "2494"; | ||||
|   | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| @@ -54,7 +54,7 @@ sidebar_position: 11 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "938", | ||||
|  "NAME": "New subfolder 2", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 26 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Name = "New file name.jpg"; | ||||
| Name = "New file name.jpg"; | ||||
|  Filename2 = "New file name 2.jpg"; | ||||
|   | ||||
|  FileID2 = "2482"; | ||||
| @@ -52,7 +52,7 @@ sidebar_position: 26 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "1716", | ||||
|  "NAME": "New file name.jpg", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 18 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Name = "New catalog"; | ||||
| Name = "New catalog"; | ||||
|  Filename2 = "New folder 2"; | ||||
|   | ||||
|  FolderID2 = "2488"; | ||||
| @@ -52,7 +52,7 @@ sidebar_position: 18 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "936", | ||||
|  "NAME": "New catalog", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 4 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Name = "New storage name"; | ||||
| Name = "New storage name"; | ||||
|  URL = "b24-ar17wx.bitrix24.by"; | ||||
|  Token = "b9df7366006e9f06006b12e400000001000..."; | ||||
|  StorageID = "18"; | ||||
| @@ -44,7 +44,7 @@ sidebar_position: 4 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "18", | ||||
|  "NAME": "New storage name", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 23 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FileID = "2484"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.RestoreFile(URL, FileID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 23 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "1716", | ||||
|  "NAME": "New file name.jpg", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 17 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  FolderID = "2490"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.RestoreFolder(URL, FolderID); | ||||
| @@ -47,7 +47,7 @@ sidebar_position: 17 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": "936", | ||||
|  "NAME": "New catalog", | ||||
|   | ||||
| @@ -28,7 +28,7 @@ sidebar_position: 19 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Filename2 = "Picture2.jpg"; | ||||
| Filename2 = "Picture2.jpg"; | ||||
|  Name = "Picture1.jpg"; | ||||
|   | ||||
|  Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data | ||||
| @@ -57,7 +57,7 @@ sidebar_position: 19 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": 1740, | ||||
|  "NAME": "Picture1.jpg", | ||||
|   | ||||
| @@ -29,7 +29,7 @@ sidebar_position: 6 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Filename2 = "Picture2.jpg"; | ||||
| Filename2 = "Picture2.jpg"; | ||||
|  Name = "Picture1.jpg"; | ||||
|   | ||||
|  Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data | ||||
| @@ -58,7 +58,7 @@ sidebar_position: 6 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "ID": 356, | ||||
|  "NAME": "26417397-8431-4343-9c0f-a40d4a2831c8.jpg", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 17 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 17 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1718569733.98858, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 7 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.ApproveTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 7 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 6 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "500"; | ||||
|  FileID = "2480"; | ||||
|   | ||||
| @@ -50,7 +50,7 @@ sidebar_position: 6 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "attachmentId": 598 | ||||
|  }, | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 20 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  ArrayOfUsers = New Array; | ||||
| ArrayOfUsers = New Array; | ||||
|  ArrayOfUsers.Add("1"); | ||||
|  ArrayOfUsers.Add("10"); | ||||
|   | ||||
| @@ -53,7 +53,7 @@ sidebar_position: 20 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "allowedActions": { | ||||
|  "1": { | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 9 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.CompleteTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 9 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 3 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  // The complete structure of the fields can be obtained by the GetTaskFieldsStructure() function() | ||||
| // The complete structure of the fields can be obtained by the GetTaskFieldsStructure() function() | ||||
|   | ||||
|  CurrentDate = OPI_Tools.GetCurrentDate(); | ||||
|  Hour = 3600; | ||||
| @@ -61,7 +61,7 @@ sidebar_position: 3 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -28,7 +28,7 @@ sidebar_position: 23 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  FromID = "500"; | ||||
| FromID = "500"; | ||||
|  DestinationID = "502"; | ||||
|  LinkType = 0; | ||||
|   | ||||
| @@ -56,7 +56,7 @@ sidebar_position: 23 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": [], | ||||
|  "time": { | ||||
|  "start": 1720186655.56394, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 11 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.DeferTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 11 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 16 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|  UserID = "10"; | ||||
|   | ||||
| @@ -50,7 +50,7 @@ sidebar_position: 16 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "154", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 5 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.DeleteTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 5 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": true | ||||
|  }, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 8 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.DisapproveTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 8 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "error": 1048582, | ||||
|  "error_description": "Action on the task is not allowed" | ||||
| } | ||||
|   | ||||
| @@ -25,7 +25,7 @@ sidebar_position: 25 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetTaskFieldsStructure(URL); | ||||
|   | ||||
| @@ -45,7 +45,7 @@ sidebar_position: 25 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "fields": { | ||||
|  "ID": { | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 19 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetTaskHistory(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 19 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "list": [ | ||||
|  { | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.GetTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 2 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  // Full filter structer you can find at GetTasksFilterStructure method | ||||
| // Full filter structer you can find at GetTasksFilterStructure method | ||||
|  Filter = New Structure; | ||||
|  Filter.Insert("CREATED_BY", 1); | ||||
|  Filter.Insert("RESPONSIBLE_ID", 10); | ||||
| @@ -53,7 +53,7 @@ sidebar_position: 2 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "tasks": [ | ||||
|  { | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 21 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "500"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.MuteTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 21 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "290", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 12 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.PauseTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 12 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 18 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.RemoveTaskFromFavorites(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 18 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": true, | ||||
|  "time": { | ||||
|  "start": 1718569735.08926, | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 10 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.RenewTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 10 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 13 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.StartTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 13 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 14 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.StartWatchingTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 14 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 15 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "168"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.StopWatchingTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 15 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -26,7 +26,7 @@ sidebar_position: 22 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
| URL = "https://b24-ar17wx.bitrix24.by/rest/1/4swokunb3tk7h7dt/"; | ||||
|  TaskID = "500"; | ||||
|   | ||||
|  Result = OPI_Bitrix24.UnmuteTask(URL, TaskID); | ||||
| @@ -48,7 +48,7 @@ sidebar_position: 22 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "290", | ||||
|   | ||||
| @@ -27,7 +27,7 @@ sidebar_position: 4 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  // The complete structure of the fields can be obtained by the GetTaskFieldsStructure() function() | ||||
| // The complete structure of the fields can be obtained by the GetTaskFieldsStructure() function() | ||||
|   | ||||
|  TaskData = New Structure; | ||||
|  TaskData.Insert("TITLE", "Another task title"); | ||||
| @@ -56,7 +56,7 @@ sidebar_position: 4 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "result": { | ||||
|  "task": { | ||||
|  "id": "110", | ||||
|   | ||||
| @@ -25,7 +25,7 @@ sidebar_position: 4 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L..."; | ||||
| Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L..."; | ||||
|   | ||||
|  Result = OPI_Dropbox.GetAccountInformation(Token); | ||||
| ``` | ||||
| @@ -39,7 +39,7 @@ sidebar_position: 4 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  { | ||||
| { | ||||
|  "account_id": "dbid:AAA4WKMCfgoW5LwuNQFeLOyp-X4omQiNDhE", | ||||
|  "name": { | ||||
|  "given_name": "Anton", | ||||
|   | ||||
| @@ -24,7 +24,7 @@ sidebar_position: 1 | ||||
|  | ||||
|  | ||||
| ```bsl title="Code example" | ||||
|  AppKey = "oynqxds..."; | ||||
| AppKey = "oynqxds..."; | ||||
|  Result = OPI_Dropbox.GetAuthorizationLink(AppKey); | ||||
| ``` | ||||
| 	 | ||||
| @@ -37,5 +37,5 @@ sidebar_position: 1 | ||||
| ``` | ||||
|  | ||||
| ```json title="Result" | ||||
|  "https://www.dropbox.com/oauth2/authorize?client_id=oynqxdsqft8oyky&response_type=code&token_access_type=offline" | ||||
| "https://www.dropbox.com/oauth2/authorize?client_id=oynqxdsqft8oyky&response_type=code&token_access_type=offline" | ||||
| ``` | ||||
|   | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user