2024-06-05 10:19:46 +00:00
|
|
|
---
|
|
|
|
|
sidebar_position: 1
|
|
|
|
|
---
|
|
|
|
|
|
2024-10-12 18:42:55 +03:00
|
|
|
# Get event description
|
|
|
|
|
Gets an empty layout to create the event
|
2024-06-05 10:19:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-12 18:42:55 +03:00
|
|
|
`Function GetEventDescription(Val Clear = False) Export`
|
2024-06-05 10:19:46 +00:00
|
|
|
|
2024-08-13 15:52:26 +03:00
|
|
|
| Parameter | CLI option | Type | Description |
|
|
|
|
|
|-|-|-|-|
|
2024-10-12 18:42:55 +03:00
|
|
|
| Clear | --empty | Boolean | True > structure with empty valuse, False > field descriptions at values |
|
2024-06-05 10:19:46 +00:00
|
|
|
|
2024-08-13 15:52:26 +03:00
|
|
|
|
|
|
|
|
Returns: Map Of KeyAndValue - Empty event template
|
2024-06-05 10:19:46 +00:00
|
|
|
|
2024-07-10 14:05:58 +03:00
|
|
|
<br/>
|
2024-06-05 10:19:46 +00:00
|
|
|
|
2024-07-10 13:58:29 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-13 15:52:26 +03:00
|
|
|
```bsl title="Code example"
|
2024-09-29 19:41:20 +03:00
|
|
|
Result = OPI_GoogleCalendar.GetEventDescription();
|
2024-08-13 15:52:26 +03:00
|
|
|
```
|
|
|
|
|
|
2024-07-10 11:59:55 +03:00
|
|
|
|
2024-06-05 10:19:46 +00:00
|
|
|
|
|
|
|
|
```sh title="CLI command example"
|
2024-08-13 15:52:26 +03:00
|
|
|
|
|
|
|
|
oint gcalendar GetEventDescription
|
2024-06-05 10:19:46 +00:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```json title="Result"
|
2024-09-29 21:40:58 +03:00
|
|
|
{
|
|
|
|
|
"Description": "",
|
|
|
|
|
"Title": "New event",
|
|
|
|
|
"Venue": "",
|
2024-10-09 09:42:00 +03:00
|
|
|
"StartDate": "2024-10-09T09:12:24.0203603Z",
|
|
|
|
|
"EndDate": "2024-10-09T10:12:24.0203603Z",
|
2024-09-29 21:40:58 +03:00
|
|
|
"ArrayOfAttachmentURLs": {},
|
|
|
|
|
"SendNotifications": true
|
|
|
|
|
}
|
2024-06-05 10:19:46 +00:00
|
|
|
```
|