You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -422,7 +422,7 @@ function addAnActivity($options)
422
422
|-----------|------|-------------|
423
423
| subject |``` Required ```| Subject of the activity |
424
424
| type |``` Required ```| Type of the activity. This is in correlation with the key_string parameter of ActivityTypes. |
425
-
| done |``` Optional ```|TODO: Add a parameter description|
425
+
| done |``` Optional ```|Whether the activity is done or not. 0 = Not done, 1 = Done|
426
426
| dueDate |``` Optional ```| Due date of the activity. Format: YYYY-MM-DD |
427
427
| dueTime |``` Optional ```| Due time of the activity in UTC. Format: HH:MM|
428
428
| duration |``` Optional ```| Duration of the activity. Format: HH:MM|
@@ -432,6 +432,7 @@ function addAnActivity($options)
432
432
| participants |``` Optional ```| List of multiple persons (participants) this activity will be associated with. If omitted, single participant from person_id field is used. It requires a structure as follows: [{"person_id":1,"primary_flag":true}]|
433
433
| orgId |``` Optional ```| ID of the organization this activity will be associated with |
434
434
| note |``` Optional ```| Note of the activity (HTML format) |
435
+
| busyFlag |``` Optional ```| Set the activity as 'Busy' or 'Free'. If the flag is set to true, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset by never setting it or overriding it with null. When the value of the flag is unset (null), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time. Format: true/false |
435
436
436
437
437
438
@@ -474,6 +475,8 @@ $collect['orgId'] = $orgId;
474
475
$note = 'note';
475
476
$collect['note'] = $note;
476
477
478
+
$busyFlag = true;
479
+
$collect['busyFlag'] = $busyFlag;
477
480
478
481
$activities->addAnActivity($collect);
479
482
@@ -560,6 +563,7 @@ function updateEditAnActivity($options)
560
563
| participants |``` Optional ```| List of multiple persons (participants) this activity will be associated with. If omitted, single participant from person_id field is used. It requires a structure as follows: [{"person_id":1,"primary_flag":true}]|
561
564
| orgId |``` Optional ```| ID of the organization this activity will be associated with |
562
565
| note |``` Optional ```| Note of the activity (HTML format) |
566
+
| busyFlag |``` Optional ```| Set the activity as 'Busy' or 'Free'. If the flag is set to true, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset by never setting it or overriding it with null. When the value of the flag is unset (null), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time. Format: true/false |
0 commit comments