Skip to content

Commit a843753

Browse files
committed
update README
1 parent aef167f commit a843753

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ function addAnActivity($options)
422422
|-----------|------|-------------|
423423
| subject | ``` Required ``` | Subject of the activity |
424424
| 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 |
426426
| dueDate | ``` Optional ``` | Due date of the activity. Format: YYYY-MM-DD |
427427
| dueTime | ``` Optional ``` | Due time of the activity in UTC. Format: HH:MM |
428428
| duration | ``` Optional ``` | Duration of the activity. Format: HH:MM |
@@ -432,6 +432,7 @@ function addAnActivity($options)
432432
| 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}] |
433433
| orgId | ``` Optional ``` | ID of the organization this activity will be associated with |
434434
| 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 |
435436

436437

437438

@@ -474,6 +475,8 @@ $collect['orgId'] = $orgId;
474475
$note = 'note';
475476
$collect['note'] = $note;
476477

478+
$busyFlag = true;
479+
$collect['busyFlag'] = $busyFlag;
477480

478481
$activities->addAnActivity($collect);
479482

0 commit comments

Comments
 (0)