You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
Создание MD файлов документации
This commit is contained in:
committed by
Vitaly the Alpaca (bot)
parent
9c2d012d41
commit
09822c04ec
@@ -1,59 +1,59 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Add calendar to list
|
||||
Adds an existing calendar to the user's list
|
||||
|
||||
|
||||
*Function AddCalendarToList(Val Token, Val Calendar) Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
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%
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
```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"
|
||||
}
|
||||
|
||||
```
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Add calendar to list
|
||||
Adds an existing calendar to the user's list
|
||||
|
||||
|
||||
*Function AddCalendarToList(Val Token, Val Calendar) Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
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%
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
```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"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -1,41 +1,41 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
---
|
||||
|
||||
# Remove calendar from list
|
||||
Removes a calendar from the user's list
|
||||
|
||||
|
||||
*Function DeleteCalendarFromList(Val Token, Val Calendar) Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
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%
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
""
|
||||
|
||||
```
|
||||
---
|
||||
sidebar_position: 4
|
||||
---
|
||||
|
||||
# Remove calendar from list
|
||||
Removes a calendar from the user's list
|
||||
|
||||
|
||||
*Function DeleteCalendarFromList(Val Token, Val Calendar) Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
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%
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
```json title="Result"
|
||||
|
||||
""
|
||||
|
||||
```
|
||||
|
||||
@@ -1,65 +1,65 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# Edit list calendar
|
||||
Edits the properties of a calendar from the user's list
|
||||
|
||||
|
||||
*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 |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
|
||||
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%
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
```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"
|
||||
}
|
||||
|
||||
```
|
||||
---
|
||||
sidebar_position: 5
|
||||
---
|
||||
|
||||
# Edit list calendar
|
||||
Edits the properties of a calendar from the user's list
|
||||
|
||||
|
||||
*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 |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
|
||||
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%
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
```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"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -1,175 +1,175 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Get list of calendars
|
||||
Gets an array of account calendars
|
||||
|
||||
|
||||
*Function GetCalendarList(Val Token) Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - Array of calendar data mappings
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
```sh title="CLI command example"
|
||||
|
||||
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"
|
||||
}
|
||||
]
|
||||
|
||||
```
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Get list of calendars
|
||||
Gets an array of account calendars
|
||||
|
||||
|
||||
*Function GetCalendarList(Val Token) Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - Array of calendar data mappings
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
|
||||
Response = OPI_Tools.JSONString(Response); //String
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
```sh title="CLI command example"
|
||||
|
||||
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"
|
||||
}
|
||||
]
|
||||
|
||||
```
|
||||
|
||||
@@ -1,58 +1,58 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# Get list calendar
|
||||
Gets a calendar from the user's list by ID
|
||||
|
||||
|
||||
*Function GetListCalendar(Val Token, Val Calendar) Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
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%
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
```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"
|
||||
}
|
||||
|
||||
```
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# Get list calendar
|
||||
Gets a calendar from the user's list by ID
|
||||
|
||||
|
||||
*Function GetListCalendar(Val Token, Val Calendar) Export*
|
||||
|
||||
| Parameter | CLI option | Type | Destination |
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
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%
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
```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"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"label": "Calendar list management",
|
||||
"position": "3"
|
||||
}
|
||||
{
|
||||
"label": "Calendar list management",
|
||||
"position": "3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user