1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00

Пересборка документации

This commit is contained in:
Anton Titovets
2024-08-13 15:52:26 +03:00
parent fd5eb48e90
commit d9e1dfbe2d
1264 changed files with 28452 additions and 27504 deletions
@@ -9,13 +9,13 @@ sidebar_position: 2
`Function AddCalendarToList(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -23,37 +23,37 @@ sidebar_position: 2
```bsl title="Code example"
Response = OPI_GoogleCalendar.AddCalendarToList(Token, "55868c32be16935f0..."); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.AddCalendarToList(Token, "55868c32be16935f0..."); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar AddCalendarToList --token %token% --calendar %calendar%
oint gcalendar AddCalendarToList --token %token% --calendar %calendar%
```
```json title="Result"
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"selected": true,
"foregroundColor": "#000000",
"backgroundColor": "#7bd148",
"colorId": "9",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "f0fad8c7db43ef0adb71cbf035eb08cf80d8f8d51ba31fa86f4d5680dc2e9725@group.calendar.google.com",
"etag": "\"1708423365033000\"",
"kind": "calendar#calendarListEntry"
}
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"selected": true,
"foregroundColor": "#000000",
"backgroundColor": "#7bd148",
"colorId": "9",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "f0fad8c7db43ef0adb71cbf035eb08cf80d8f8d51ba31fa86f4d5680dc2e9725@group.calendar.google.com",
"etag": "\"1708423365033000\"",
"kind": "calendar#calendarListEntry"
}
```
@@ -9,13 +9,13 @@ sidebar_position: 4
`Function DeleteCalendarFromList(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -23,16 +23,16 @@ sidebar_position: 4
```bsl title="Code example"
Response = OPI_GoogleCalendar.DeleteCalendarFromList(Token, "55868c32be16935f0..."); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.DeleteCalendarFromList(Token, "55868c32be16935f0..."); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar DeleteCalendarFromList --token %token% --calendar %calendar%
oint gcalendar DeleteCalendarFromList --token %token% --calendar %calendar%
```
@@ -9,16 +9,16 @@ sidebar_position: 5
`Function EditListCalendar(Val Token, Val Calendar, Val PrimaryColor, Val SecondaryColor, Val Hidden = False) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| PrimaryColor | --primary | String | HEX primary color (#ffffff) |
| SecondaryColor | --secondary | String | HEX secondary color (#ffffff) |
| Hidden | --hidden | Boolean | Hidden calendar |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| PrimaryColor | --primary | String | HEX primary color (#ffffff) |
| SecondaryColor | --secondary | String | HEX secondary color (#ffffff) |
| Hidden | --hidden | Boolean | Hidden calendar |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -26,40 +26,40 @@ sidebar_position: 5
```bsl title="Code example"
Black = "#000000";
Yellow = "#ffd800";
Response = OPI_GoogleCalendar.EditListCalendar(Token, "55868c32be16935f0...", Black, Yellow, False); //Map
Response = OPI_Tools.JSONString(Response); //String
Black = "#000000";
Yellow = "#ffd800";
Response = OPI_GoogleCalendar.EditListCalendar(Token, "55868c32be16935f0...", Black, Yellow, False); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar EditListCalendar --token %token% --calendar %calendar% --primary %primary% --secondary %secondary% --hidden %hidden%
oint gcalendar EditListCalendar --token %token% --calendar %calendar% --primary %primary% --secondary %secondary% --hidden %hidden%
```
```json title="Result"
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#ffd800",
"colorId": "6",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "0da65d69eba1e4b27f980447827b251ca2d94ecb1d30dba22c83559c33d0ea29@group.calendar.google.com",
"etag": "\"1708424005038000\"",
"kind": "calendar#calendarListEntry"
}
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#ffd800",
"colorId": "6",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "0da65d69eba1e4b27f980447827b251ca2d94ecb1d30dba22c83559c33d0ea29@group.calendar.google.com",
"etag": "\"1708424005038000\"",
"kind": "calendar#calendarListEntry"
}
```
@@ -9,12 +9,12 @@ sidebar_position: 1
`Function GetCalendarList(Val Token) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
Returns: Map Of KeyAndValue - Array of calendar data mappings
Returns: Map Of KeyAndValue - Array of calendar data mappings
<br/>
@@ -22,154 +22,154 @@ sidebar_position: 1
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar GetCalendarList --token %token%
oint gcalendar GetCalendarList --token %token%
```
```json title="Result"
[
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "reader",
"foregroundColor": "#000000",
"backgroundColor": "#92e1c0",
"colorId": "13",
"description": "Hollydays.",
"summary": "Hollydays",
"defaultReminders": [],
"timeZone": "Europe/Minsk",
"id": "addressbook#contacts@group.v.calendar.google.com",
"etag": "\"1708410978711000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"notificationSettings": {
"notifications": [
{
"method": "email",
"type": "eventCreation"
},
{
"method": "email",
"type": "eventChange"
},
{
"method": "email",
"type": "eventCancellation"
},
{
"method": "email",
"type": "eventResponse"
}
]
},
"accessRole": "owner",
"selected": true,
"foregroundColor": "#000000",
"backgroundColor": "#9fe1e7",
"colorId": "14",
"primary": true,
"summary": "bayselonarrend@gmail.com",
"defaultReminders": [
{
"minutes": 30,
"method": "popup"
}
],
"timeZone": "Europe/Minsk",
"id": "bayselonarrend@gmail.com",
"etag": "\"1708411692097000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "reader",
"foregroundColor": "#000000",
"backgroundColor": "#16a765",
"colorId": "8",
"description": "Holidays and memorable dates in Belarus",
"summary": "Holidays in Belarus",
"defaultReminders": [],
"timeZone": "Europe/Minsk",
"id": "ru.by#holiday@group.v.calendar.google.com",
"etag": "\"1708417568219000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#cca6ac",
"colorId": "21",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "9e3fe3b35b6a09a1fa9413a0deec2fe8e040ed7fdd0fdeb1e49028848269654d@group.calendar.google.com",
"etag": "\"1708417602744000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#ffd800",
"colorId": "6",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "0047d950f70f380b8ff7e2fa538b6f9f10c8a3212d0740788545406cf73431b9@group.calendar.google.com",
"etag": "\"1708417840630000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#ffd800",
"colorId": "6",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "b5c45ad216306688c4286a262bf66d3da38aaadec3b7a5768153740140ea787c@group.calendar.google.com",
"etag": "\"1708418157716000\"",
"kind": "calendar#calendarListEntry"
}
]
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "reader",
"foregroundColor": "#000000",
"backgroundColor": "#92e1c0",
"colorId": "13",
"description": "Hollydays.",
"summary": "Hollydays",
"defaultReminders": [],
"timeZone": "Europe/Minsk",
"id": "addressbook#contacts@group.v.calendar.google.com",
"etag": "\"1708410978711000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"notificationSettings": {
"notifications": [
{
"method": "email",
"type": "eventCreation"
},
{
"method": "email",
"type": "eventChange"
},
{
"method": "email",
"type": "eventCancellation"
},
{
"method": "email",
"type": "eventResponse"
}
]
},
"accessRole": "owner",
"selected": true,
"foregroundColor": "#000000",
"backgroundColor": "#9fe1e7",
"colorId": "14",
"primary": true,
"summary": "bayselonarrend@gmail.com",
"defaultReminders": [
{
"minutes": 30,
"method": "popup"
}
],
"timeZone": "Europe/Minsk",
"id": "bayselonarrend@gmail.com",
"etag": "\"1708411692097000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "reader",
"foregroundColor": "#000000",
"backgroundColor": "#16a765",
"colorId": "8",
"description": "Holidays and memorable dates in Belarus",
"summary": "Holidays in Belarus",
"defaultReminders": [],
"timeZone": "Europe/Minsk",
"id": "ru.by#holiday@group.v.calendar.google.com",
"etag": "\"1708417568219000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#cca6ac",
"colorId": "21",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "9e3fe3b35b6a09a1fa9413a0deec2fe8e040ed7fdd0fdeb1e49028848269654d@group.calendar.google.com",
"etag": "\"1708417602744000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#ffd800",
"colorId": "6",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "0047d950f70f380b8ff7e2fa538b6f9f10c8a3212d0740788545406cf73431b9@group.calendar.google.com",
"etag": "\"1708417840630000\"",
"kind": "calendar#calendarListEntry"
},
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#ffd800",
"colorId": "6",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "b5c45ad216306688c4286a262bf66d3da38aaadec3b7a5768153740140ea787c@group.calendar.google.com",
"etag": "\"1708418157716000\"",
"kind": "calendar#calendarListEntry"
}
]
```
@@ -9,13 +9,13 @@ sidebar_position: 3
`Function GetListCalendar(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -23,36 +23,36 @@ sidebar_position: 3
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetListCalendar(Token, "55868c32be16935f0..."); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.GetListCalendar(Token, "55868c32be16935f0..."); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar GetListCalendar --token %token% --calendar %calendar%
oint gcalendar GetListCalendar --token %token% --calendar %calendar%
```
```json title="Result"
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#ffd800",
"colorId": "6",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "f0fad8c7db43ef0adb71cbf035eb08cf80d8f8d51ba31fa86f4d5680dc2e9725@group.calendar.google.com",
"etag": "\"1708423563386000\"",
"kind": "calendar#calendarListEntry"
}
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"accessRole": "owner",
"foregroundColor": "#000000",
"backgroundColor": "#ffd800",
"colorId": "6",
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"defaultReminders": [],
"timeZone": "UTC",
"id": "f0fad8c7db43ef0adb71cbf035eb08cf80d8f8d51ba31fa86f4d5680dc2e9725@group.calendar.google.com",
"etag": "\"1708423563386000\"",
"kind": "calendar#calendarListEntry"
}
```
@@ -9,12 +9,12 @@ sidebar_position: 4
`Function ClearMainCalendar(Val Token) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -22,15 +22,15 @@ sidebar_position: 4
```bsl title="Code example"
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
```
```sh title="CLI command example"
oint gcalendar ClearMainCalendar --token %token%
oint gcalendar ClearMainCalendar --token %token%
```
@@ -9,13 +9,13 @@ sidebar_position: 1
`Function CreateCalendar(Val Token, Val Name) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Name | --title | String | Name of the created calendar |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Name | --title | String | Name of the created calendar |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -23,30 +23,30 @@ sidebar_position: 1
```bsl title="Code example"
Response = OPI_GoogleCalendar.CreateCalendar(Token, "TestCalendar"); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.CreateCalendar(Token, "TestCalendar"); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar CreateCalendar --token %token% --title %title%
oint gcalendar CreateCalendar --token %token% --title %title%
```
```json title="Result"
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"summary": "TestCalendar",
"timeZone": "UTC",
"id": "75b64bec8700a640b004af3491867ac5e479884794f529699da23e7009f7d691@group.calendar.google.com",
"etag": "\"ZlOrbHnYjwJB0APkTQupgFm7F3s\"",
"kind": "calendar#calendar"
}
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"summary": "TestCalendar",
"timeZone": "UTC",
"id": "75b64bec8700a640b004af3491867ac5e479884794f529699da23e7009f7d691@group.calendar.google.com",
"etag": "\"ZlOrbHnYjwJB0APkTQupgFm7F3s\"",
"kind": "calendar#calendar"
}
```
@@ -9,13 +9,13 @@ sidebar_position: 5
`Function DeleteCalendar(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -23,16 +23,16 @@ sidebar_position: 5
```bsl title="Code example"
Response = OPI_GoogleCalendar.DeleteCalendar(Token, "55868c32be16935f0...");
Response = OPI_Tools.JSONString(Response);
Response = OPI_GoogleCalendar.DeleteCalendar(Token, "55868c32be16935f0...");
Response = OPI_Tools.JSONString(Response);
```
```sh title="CLI command example"
oint gcalendar DeleteCalendar --token %token% --calendar %calendar%
oint gcalendar DeleteCalendar --token %token% --calendar %calendar%
```
@@ -9,15 +9,15 @@ sidebar_position: 3
`Function EditCalendarMetadata(Val Token, Val Calendar, Val Name = "", Val Description = "") Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Name | --title | String | New name |
| Description | --description | String | New calendar description |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Name | --title | String | New name |
| Description | --description | String | New calendar description |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -25,33 +25,33 @@ sidebar_position: 3
```bsl title="Code example"
Name = "TestCalendar (change.)";
Description = "TestDescription";
Response = OPI_GoogleCalendar.EditCalendarMetadata(Token, "55868c32be16935f0...", Name, Description); //Map
Response = OPI_Tools.JSONString(Response); //String
Name = "TestCalendar (change.)";
Description = "TestDescription";
Response = OPI_GoogleCalendar.EditCalendarMetadata(Token, "55868c32be16935f0...", Name, Description); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar EditCalendarMetadata --token %token% --calendar %calendar% --title "TestCalendar (change.)" --description "TestDescription"
oint gcalendar EditCalendarMetadata --token %token% --calendar %calendar% --title "TestCalendar (change.)" --description "TestDescription"
```
```json title="Result"
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"timeZone": "UTC",
"id": "75b64bec8700a640b004af3491867ac5e479884794f529699da23e7009f7d691@group.calendar.google.com",
"etag": "\"x8eLqpmgoxpEDEXmEbsZxxgmJhc\"",
"kind": "calendar#calendar"
}
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"timeZone": "UTC",
"id": "75b64bec8700a640b004af3491867ac5e479884794f529699da23e7009f7d691@group.calendar.google.com",
"etag": "\"x8eLqpmgoxpEDEXmEbsZxxgmJhc\"",
"kind": "calendar#calendar"
}
```
@@ -9,13 +9,13 @@ sidebar_position: 2
`Function GetCalendarMetadata(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -23,31 +23,31 @@ sidebar_position: 2
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetCalendarMetadata(Token, "55868c32be16935f0..."); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.GetCalendarMetadata(Token, "55868c32be16935f0..."); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar GetCalendarMetadata --token %token% --calendar %calendar%
oint gcalendar GetCalendarMetadata --token %token% --calendar %calendar%
```
```json title="Result"
{
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"timeZone": "UTC",
"id": "155868c32be26e4c4123a107810d40b929b516935f080e4747261fdc3416227c@group.calendar.google.com",
"etag": "\"4A10_PI6FFY129ggELzZ8veUU-U\"",
"kind": "calendar#calendar"
}
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
},
"description": "TestDescription",
"summary": "TestCalendar (change.)",
"timeZone": "UTC",
"id": "155868c32be26e4c4123a107810d40b929b516935f080e4747261fdc3416227c@group.calendar.google.com",
"etag": "\"4A10_PI6FFY129ggELzZ8veUU-U\"",
"kind": "calendar#calendar"
}
```
@@ -9,14 +9,14 @@ sidebar_position: 4
`Function CreateEvent(Val Token, Val Calendar, Val EventDescription) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| EventDescription | --props | Map Of KeyAndValue | Event description |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| EventDescription | --props | Map Of KeyAndValue | Event description |
Returns: String, Arbitrary, HTTPResponse, BinaryData, Undefined - Google server response
Returns: String, Arbitrary, HTTPResponse, BinaryData, Undefined - Google server response
<br/>
@@ -24,77 +24,77 @@ sidebar_position: 4
```bsl title="Code example"
Attachments = New Map;
Attachments.Insert("Image1", "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png");
Attachments.Insert("Image2", "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1");
EventMap = New Map;
EventMap.Insert("Description", Description);
EventMap.Insert("Title", Name);
EventMap.Insert("Venue", "On office");
EventMap.Insert("StartDate", CurrentSessionDate());
EventMap.Insert("EndDate", EventMap["StartDate"] + 3600);
EventMap.Insert("ArrayOfAttachmentURLs", Attachments);
EventMap.Insert("SendNotifications", True);
Response = OPI_GoogleCalendar.CreateEvent(Token, Calendar, EventMap);
Response = OPI_Tools.JSONString(Response);
Attachments = New Map;
Attachments.Insert("Image1", "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png");
Attachments.Insert("Image2", "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1");
EventMap = New Map;
EventMap.Insert("Description", Description);
EventMap.Insert("Title", Name);
EventMap.Insert("Venue", "On office");
EventMap.Insert("StartDate", CurrentSessionDate());
EventMap.Insert("EndDate", EventMap["StartDate"] + 3600);
EventMap.Insert("ArrayOfAttachmentURLs", Attachments);
EventMap.Insert("SendNotifications", True);
Response = OPI_GoogleCalendar.CreateEvent(Token, Calendar, EventMap);
Response = OPI_Tools.JSONString(Response);
```
```sh title="CLI command example"
oint gcalendar CreateEvent --token %token% --calendar %calendar% --props %props%
oint gcalendar CreateEvent --token %token% --calendar %calendar% --props %props%
```
```json title="Result"
{
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "Image2",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
},
{
"iconLink": "",
"title": "Image1",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-21T15:16:25+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-21T16:16:25+03:00"
},
"iCalUID": "j4nonfcc0m2mtop1vc8ivo8tb8@google.com",
"description": "TestEventDescription",
"updated": "2024-02-21T09:16:28.474Z",
"created": "2024-02-21T09:16:28.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=ajRub25mY2MwbTJtdG9wMXZjOGl2bzh0YjggYmF5c2Vsb25hcnJlbmRAbQ",
"location": "On office",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "j4nonfcc0m2mtop1vc8ivo8tb8",
"etag": "\"3417013976948000\"",
"kind": "calendar#event"
}
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "Image2",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
},
{
"iconLink": "",
"title": "Image1",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-21T15:16:25+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-21T16:16:25+03:00"
},
"iCalUID": "j4nonfcc0m2mtop1vc8ivo8tb8@google.com",
"description": "TestEventDescription",
"updated": "2024-02-21T09:16:28.474Z",
"created": "2024-02-21T09:16:28.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=ajRub25mY2MwbTJtdG9wMXZjOGl2bzh0YjggYmF5c2Vsb25hcnJlbmRAbQ",
"location": "On office",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "j4nonfcc0m2mtop1vc8ivo8tb8",
"etag": "\"3417013976948000\"",
"kind": "calendar#event"
}
```
@@ -9,14 +9,14 @@ sidebar_position: 7
`Function DeleteEvent(Val Token, Val Calendar, Val Event) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Event | --event | String | Event ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Event | --event | String | Event ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -24,16 +24,16 @@ sidebar_position: 7
```bsl title="Code example"
Response = OPI_GoogleCalendar.DeleteEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.DeleteEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar DeleteEvent --token %token% --calendar %calendar% --event %event%
oint gcalendar DeleteEvent --token %token% --calendar %calendar% --event %event%
```
@@ -9,15 +9,15 @@ sidebar_position: 6
`Function EditEvent(Val Token, Val Calendar, Val EventDescription, Val Event) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| EventDescription | --props | String | New event description |
| Event | --event | String | Event ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| EventDescription | --props | String | New event description |
| Event | --event | String | Event ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -25,67 +25,67 @@ sidebar_position: 6
```bsl title="Code example"
EventMap = New Map;
EventMap.Insert("Description", "Test event description (change.)");
Response = OPI_GoogleCalendar.EditEvent(Token, "55868c32be16935f0...", EventMap, "j4nonfcc0m2...");
Response = OPI_Tools.JSONString(Response);
EventMap = New Map;
EventMap.Insert("Description", "Test event description (change.)");
Response = OPI_GoogleCalendar.EditEvent(Token, "55868c32be16935f0...", EventMap, "j4nonfcc0m2...");
Response = OPI_Tools.JSONString(Response);
```
```sh title="CLI command example"
oint gcalendar EditEvent --token %token% --calendar %calendar% --props %props% --event %event%
oint gcalendar EditEvent --token %token% --calendar %calendar% --props %props% --event %event%
```
```json title="Result"
{
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "Image2",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
},
{
"iconLink": "",
"title": "Image1",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-24T16:42:28+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-24T17:42:28+03:00"
},
"iCalUID": "7c2s6g3k6ib1mr2v1b7lnt9kfk@google.com",
"description": "Test event description (change.)",
"updated": "2024-02-24T10:42:42.401Z",
"created": "2024-02-24T10:42:32.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=N2MyczZnM2s2aWIxbXIydjFiN2xudDlrZmsgYmF5c2Vsb25hcnJlbmRAbQ",
"location": "InOffice",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "7c2s6g3k6ib1mr2v1b7lnt9kfk",
"etag": "\"3417542724802000\"",
"kind": "calendar#event"
}
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "Image2",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
},
{
"iconLink": "",
"title": "Image1",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-24T16:42:28+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-24T17:42:28+03:00"
},
"iCalUID": "7c2s6g3k6ib1mr2v1b7lnt9kfk@google.com",
"description": "Test event description (change.)",
"updated": "2024-02-24T10:42:42.401Z",
"created": "2024-02-24T10:42:32.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=N2MyczZnM2s2aWIxbXIydjFiN2xudDlrZmsgYmF5c2Vsb25hcnJlbmRAbQ",
"location": "InOffice",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "7c2s6g3k6ib1mr2v1b7lnt9kfk",
"etag": "\"3417542724802000\"",
"kind": "calendar#event"
}
```
@@ -2,40 +2,43 @@
sidebar_position: 1
---
# Get description events
# Get event description
`Function GetEventDescription() Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Parameter | CLI option | Type | Description |
|-|-|-|-|
Returns: Map Of KeyAndValue - Empty event template
Returns: Map Of KeyAndValue - Empty event template
<br/>
```bsl title="Code example"
```
```sh title="CLI command example"
oint gcalendar GetEventDescription
oint gcalendar GetEventDescription
```
```json title="Result"
EventMap = New Map;
EventMap.Insert("Description", ""); // Event description
EventMap.Insert("Title", "New event"); // Title events
EventMap.Insert("Venue", ""); // String description of the venue of the event
EventMap.Insert("StartDate", CurrentSessionDate()); // Date of start events
EventMap.Insert("EndDate", EventMap["StartDate"] + 3600); // Date of end events
EventMap.Insert("ArrayOfAttachmentURLs", New Map); // Key - name, Value - URL to file
EventMap.Insert("SendNotifications", True); // Indication of sending notifications to participants
EventMap.Insert("Description", ""); // Event description
EventMap.Insert("Title", "New event"); // Title events
EventMap.Insert("Venue", ""); // String description of the venue of the event
EventMap.Insert("StartDate", CurrentSessionDate()); // Date of start events
EventMap.Insert("EndDate", EventMap["StartDate"] + 3600); // Date of end events
EventMap.Insert("ArrayOfAttachmentURLs", New Map); // Key - name, Value - URL to file
EventMap.Insert("SendNotifications", True); // Indication of sending notifications to participants
```
@@ -9,13 +9,13 @@ sidebar_position: 2
`Function GetEventList(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
Returns: Map Of KeyAndValue - Array of event maps
Returns: Map Of KeyAndValue - Array of event maps
<br/>
@@ -23,66 +23,66 @@ sidebar_position: 2
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetEventList(Token, "55868c32be16935f0...");
Response = OPI_Tools.JSONString(Response);
Response = OPI_GoogleCalendar.GetEventList(Token, "55868c32be16935f0...");
Response = OPI_Tools.JSONString(Response);
```
```sh title="CLI command example"
oint gcalendar GetEventList --token %token% --calendar %calendar%
oint gcalendar GetEventList --token %token% --calendar %calendar%
```
```json title="Result"
[
{
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
},
{
"iconLink": "",
"title": "",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-20T05:31:12+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-20T06:31:12+03:00"
},
"iCalUID": "o6dt8kbedrmu15o53pgbrrv35o@google.com",
"description": "TestEventDescription",
"updated": "2024-02-20T11:31:13.044Z",
"created": "2024-02-20T11:31:13.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=bzZkdDhrYmVkcm11MTVvNTNwZ2JycnYzNW8gYmF5c2Vsb25hcnJlbmRAbQ",
"location": "On office",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "o6dt8kbedrmu15o53pgbrrv35o",
"etag": "\"3416857346088000\"",
"kind": "calendar#event"
},
]
{
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
},
{
"iconLink": "",
"title": "",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-20T05:31:12+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-20T06:31:12+03:00"
},
"iCalUID": "o6dt8kbedrmu15o53pgbrrv35o@google.com",
"description": "TestEventDescription",
"updated": "2024-02-20T11:31:13.044Z",
"created": "2024-02-20T11:31:13.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=bzZkdDhrYmVkcm11MTVvNTNwZ2JycnYzNW8gYmF5c2Vsb25hcnJlbmRAbQ",
"location": "On office",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "o6dt8kbedrmu15o53pgbrrv35o",
"etag": "\"3416857346088000\"",
"kind": "calendar#event"
},
]
```
@@ -9,14 +9,14 @@ sidebar_position: 3
`Function GetEvent(Val Token, Val Calendar, Val Event) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Event | --event | String | Event ID |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| Calendar | --calendar | String | Calendar ID |
| Event | --event | String | Event ID |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -24,64 +24,64 @@ sidebar_position: 3
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.GetEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar GetEvent --token %token% --calendar %calendar% --event %event%
oint gcalendar GetEvent --token %token% --calendar %calendar% --event %event%
```
```json title="Result"
{
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "Image2",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
},
{
"iconLink": "",
"title": "Image1",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-21T15:16:25+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-21T16:16:25+03:00"
},
"iCalUID": "j4nonfcc0m2mtop1vc8ivo8tb8@google.com",
"description": "TestEventDescription",
"updated": "2024-02-21T09:16:28.474Z",
"created": "2024-02-21T09:16:28.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=ajRub25mY2MwbTJtdG9wMXZjOGl2bzh0YjggYmF5c2Vsb25hcnJlbmRAbQ",
"location": "On office",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "j4nonfcc0m2mtop1vc8ivo8tb8",
"etag": "\"3417013976948000\"",
"kind": "calendar#event"
}
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "Image2",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
},
{
"iconLink": "",
"title": "Image1",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-21T15:16:25+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-21T16:16:25+03:00"
},
"iCalUID": "j4nonfcc0m2mtop1vc8ivo8tb8@google.com",
"description": "TestEventDescription",
"updated": "2024-02-21T09:16:28.474Z",
"created": "2024-02-21T09:16:28.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=ajRub25mY2MwbTJtdG9wMXZjOGl2bzh0YjggYmF5c2Vsb25hcnJlbmRAbQ",
"location": "On office",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "j4nonfcc0m2mtop1vc8ivo8tb8",
"etag": "\"3417013976948000\"",
"kind": "calendar#event"
}
```
@@ -9,15 +9,15 @@ sidebar_position: 5
`Function MoveEvent(Val Token, Val SourceCalendar, Val TargetCalendar, Val Event) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Token | --token | String | Token |
| SourceCalendar | --from | String | ID of the source calendar |
| TargetCalendar | --to | String | ID of the target calendar |
| Event | --event | String | ID of the source calendar event |
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Token | --token | String | Token |
| SourceCalendar | --from | String | ID of the source calendar |
| TargetCalendar | --to | String | ID of the target calendar |
| Event | --event | String | ID of the source calendar event |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Returns: Map Of KeyAndValue - serialized JSON response from Google
<br/>
@@ -25,64 +25,64 @@ sidebar_position: 5
```bsl title="Code example"
Response = OPI_GoogleCalendar.MoveEvent(Token, "bayselonarrend@gmail.com", "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
Response = OPI_Tools.JSONString(Response); //String
Response = OPI_GoogleCalendar.MoveEvent(Token, "bayselonarrend@gmail.com", "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
Response = OPI_Tools.JSONString(Response); //String
```
```sh title="CLI command example"
oint gcalendar MoveEvent --token %token% --from %from% --to %to% --event %event%
oint gcalendar MoveEvent --token %token% --from %from% --to %to% --event %event%
```
```json title="Result"
{
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "Image2",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
},
{
"iconLink": "",
"title": "Image1",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-24T16:20:49+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-24T17:20:49+03:00"
},
"iCalUID": "f9kkj2omsqtt67g12qh2jig8uk@google.com",
"description": "TestEventDescription",
"updated": "2024-02-24T10:20:51.234Z",
"created": "2024-02-24T10:20:49.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=Zjlra2oyb21zcXR0NjdnMTJxaDJqaWc4dWsgYmF5c2Vsb25hcnJlbmRAbQ",
"location": "InOffice",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "f9kkj2omsqtt67g12qh2jig8uk",
"etag": "\"3417540102468000\"",
"kind": "calendar#event"
}
"eventType": "default",
"attachments": [
{
"iconLink": "",
"title": "Image2",
"fileUrl": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1"
},
{
"iconLink": "",
"title": "Image1",
"fileUrl": "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png"
}
],
"reminders": {
"useDefault": true
},
"sequence": 0,
"start": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-24T16:20:49+03:00"
},
"creator": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"end": {
"timeZone": "Europe/Minsk",
"dateTime": "2024-02-24T17:20:49+03:00"
},
"iCalUID": "f9kkj2omsqtt67g12qh2jig8uk@google.com",
"description": "TestEventDescription",
"updated": "2024-02-24T10:20:51.234Z",
"created": "2024-02-24T10:20:49.000Z",
"htmlLink": "https://www.google.com/calendar/event?eid=Zjlra2oyb21zcXR0NjdnMTJxaDJqaWc4dWsgYmF5c2Vsb25hcnJlbmRAbQ",
"location": "InOffice",
"summary": "New event",
"organizer": {
"self": true,
"email": "bayselonarrend@gmail.com"
},
"status": "confirmed",
"id": "f9kkj2omsqtt67g12qh2jig8uk",
"etag": "\"3417540102468000\"",
"kind": "calendar#event"
}
```