Skip to content

Commit

Permalink
Merge pull request #739 from teamleadercrm/ATL-2280-meeting-complete
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoinacio authored Nov 23, 2023
2 parents 4e79c8b + 6ba2f43 commit bdd29d3
Show file tree
Hide file tree
Showing 4 changed files with 376 additions and 22 deletions.
199 changes: 188 additions & 11 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,10 @@ We list all backwards-compatible additions here. These are currently available i
- We added the `calls.add`, `calls.list`, `calls.info` and `calls.complete` endpoints.
- We added the `callOutcomes.list` endpoint.
- We added `call.added`, `call.updated` and `call.deleted` types to supported Webhook types.
- We added the `meetings.schedule`, `meetings.update`, `meetings.complete` and `meetings.delete` endpoints.
- We added `meeting.created`, `meeting.updated` and `meeting.deleted` types to supported Webhook types.
- The `meetings.info` and `meetings.list` endpoints now return the meeting recurrence id for recurring meetings.
- The `meetings.list` endpoint can now filter meetings by recurrence id.
- We added `custom_fields` to `projects-v2/projects.info`, `projects-v2/projects.create` and `projects-v2/projects.update`

#### October 2023
Expand Down Expand Up @@ -3168,6 +3172,7 @@ Get a list of meetings.
+ `end_date`: `2019-02-04` (string, optional)
+ `milestone_id`: `f29abf48-337d-44b4-aad4-585f5277a456` (string, optional)
+ `term`: `funny joke HR meeting` (string, optional)
+ `recurrence_id`: `1dfccc8e-68d0-0b83-8d1b-5cf1b0d99ab1` (string, optional)
+ page (Page, optional)
+ sort (array, optional)
+ (object)
Expand All @@ -3190,8 +3195,8 @@ Get a list of meetings.
+ data (array)
+ (object)
+ id: `f29abf48-337d-44b4-aad4-585f5277a456` (string)
+ title (string)
+ description (string)
+ title: `My meeting` (string)
+ description: `My meeting description` (string)
+ created_at: `2020-02-01T10:33:45+00:00` (string)
+ scheduled_at: `2020-02-04T16:44:33+00:00` (string)
+ duration (object)
Expand Down Expand Up @@ -3234,7 +3239,9 @@ Get a list of meetings.
+ Members
+ open
+ done

+ recurrence (object, nullable)
+ type: `recurrence` (string)
+ id: `1dfccc8e-68d0-0b83-8d1b-5cf1b0d99ab1` (string)

### meetings.info [POST /meetings.info]

Expand All @@ -3251,8 +3258,8 @@ Get information about a meeting.
+ Attributes (object)
+ data (object)
+ id: `70af3fdd-b037-0936-ad1a-6d784dd44cf4` (string)
+ title (string)
+ description (string)
+ title: `My meeting` (string)
+ description: `My meeting description` (string)
+ scheduled_at: `2020-02-04T16:44:33+00:00` (string)
+ duration (object)
+ unit (enum)
Expand Down Expand Up @@ -3296,14 +3303,36 @@ Get information about a meeting.
+ contact
+ company
+ id: `f29abf48-337d-44b4-aad4-585f5277a456` (string)
+ address (AddressResponse)
+ Properties
+ address (object)
+ line_1: `Dok Noord 3A 101` (string, nullable)
+ postal_code: `9000` (string, nullable)
+ city: `Ghent` (string, nullable)
+ country: `BE` (string)
+ area_level_two (object, nullable)
+ type: `area_level_two` (string)
+ id: `db232cf8-ad4a-024b-941f-15a7a74f0fd2` (string)
+ Properties
+ type: `address` (string)
+ address (AddressResponse)
+ Properties
+ address (object)
+ line_1: `Dok Noord 3A 101` (string, nullable)
+ postal_code: `9000` (string, nullable)
+ city: `Ghent` (string, nullable)
+ country: `BE` (string)
+ area_level_two (object, nullable)
+ type: `area_level_two` (string)
+ id: `db232cf8-ad4a-024b-941f-15a7a74f0fd2` (string)
+ Properties
+ type: `customLocation` (string)
+ address (AddressResponse)
+ Properties
+ id: `4191c526-5e26-0818-8e16-9523215b5081` (string)
+ address (object)
+ line_1: `Dok Noord 3A 101` (string, nullable)
+ postal_code: `9000` (string, nullable)
+ city: `Ghent` (string, nullable)
+ country: `BE` (string)
+ area_level_two (object, nullable)
+ type: `area_level_two` (string)
+ id: `db232cf8-ad4a-024b-941f-15a7a74f0fd2` (string)
+ Properties
+ type: `calendarResource` (string)
+ online_meeting_room (object, nullable)
+ type: `onlineMeetingRoom` (string)
Expand All @@ -3320,6 +3349,151 @@ Get information about a meeting.
+ Members
+ open
+ done
+ recurrence (object, nullable)
+ type: `recurrence` (string)
+ id: `1dfccc8e-68d0-0b83-8d1b-5cf1b0d99ab1` (string)

### meetings.schedule [POST /meetings.schedule]

Schedule a meeting.

+ Request (application/json)

+ Attributes (object)
+ title: `My meeting` (string, required)
+ starts_at: `2023-10-01T09:00:00+01:00` (string, required)
+ ends_at: `2023-10-01T10:00:00+01:00` (string, required)
+ description: `My meeting description` (string, optional)
+ attendees (array, required) - at least one user attendee must be present
+ (object)
+ `type`: `user` (enum[string])
+ Members
+ `user`
+ `contact`
+ `id`: `66abace2-62af-0836-a927-fe3f44b9b47b` (string)
+ customer (object, optional)
+ type: `contact` (enum)
+ Members
+ contact
+ company
+ id: `f29abf48-337d-44b4-aad4-585f5277a456` (string)
+ location (object, optional)
+ One Of
+ Properties
+ type: `virtual` (string, required)
+ Properties
+ type: `contact` (enum[string], required)
+ Members
+ contact
+ company
+ id: `f29abf48-337d-44b4-aad4-585f5277a456` (string, required)
+ `address` (object, required)
+ line_1: `Dok Noord 3A 101` (string, required, nullable)
+ postal_code: `9000` (string, required, nullable)
+ city: `Ghent` (string, required, nullable)
+ country: `BE` (string, required)
+ area_level_two_id: `db232cf8-ad4a-024b-941f-15a7a74f0fd2`
+ Properties
+ type: `address` (string, required)
+ `address` (object, required)
+ line_1: `Dok Noord 3A 101` (string, required, nullable)
+ postal_code: `9000` (string, required, nullable)
+ city: `Ghent` (string, required, nullable)
+ country: `BE` (string, required)
+ area_level_two_id: `db232cf8-ad4a-024b-941f-15a7a74f0fd2`
+ Properties
+ type: `customLocation` (string, required)
+ id: `4191c526-5e26-0818-8e16-9523215b5081` (string, required)
+ milestone_id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string, optional)
+ deal_id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string, optional)
+ custom_fields (array[CustomFieldValue], optional)

+ Response 201 (application/json)

+ Attributes (object)
+ data (object)
+ type: `meeting` (string)
+ id: `00ed6266-a5bd-4aac-a292-2582017b6400` (string)

### meetings.update [POST /meetings.update]

Update a meeting.

+ Request (application/json)

+ Attributes (object)
+ id: `00ed6266-a5bd-4aac-a292-2582017b6400` (string, required)
+ title: `My meeting` (string, optional)
+ starts_at: `2023-10-01T09:00:00+01:00` (string, optional)
+ ends_at: `2023-10-01T10:00:00+01:00` (string, optional)
+ description: `My meeting description` (string, optional, nullable)
+ attendees (array, optional) - when provided, at least one user attendee must be present
+ (object)
+ `type`: `user` (enum[string])
+ Members
+ `user`
+ `contact`
+ `id`: `66abace2-62af-0836-a927-fe3f44b9b47b` (string)
+ customer (object, optional, nullable)
+ type: `contact` (enum)
+ Members
+ contact
+ company
+ id: `f29abf48-337d-44b4-aad4-585f5277a456` (string)
+ location (object, optional)
+ One Of
+ Properties
+ type: `virtual` (string, required)
+ Properties
+ type: `contact` (enum[string], required)
+ Members
+ contact
+ company
+ id: `f29abf48-337d-44b4-aad4-585f5277a456` (string, required)
+ `address` (object, required)
+ line_1: `Dok Noord 3A 101` (string, required, nullable)
+ postal_code: `9000` (string, required, nullable)
+ city: `Ghent` (string, required, nullable)
+ country: `BE` (string, required)
+ area_level_two_id: `db232cf8-ad4a-024b-941f-15a7a74f0fd2`
+ Properties
+ type: `address` (string, required)
+ `address` (object, required)
+ line_1: `Dok Noord 3A 101` (string, required, nullable)
+ postal_code: `9000` (string, required, nullable)
+ city: `Ghent` (string, required, nullable)
+ country: `BE` (string, required)
+ area_level_two_id: `db232cf8-ad4a-024b-941f-15a7a74f0fd2`
+ Properties
+ type: `customLocation` (string, required)
+ id: `4191c526-5e26-0818-8e16-9523215b5081` (string, required)
+ milestone_id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string, optional, nullable)
+ deal_id: `32665afd-1818-0ed3-9e18-a603a3a21b95` (string, optional, nullable)
+ custom_fields (array[CustomFieldValue], optional)

+ Response 204

### meetings.complete [POST /meetings.complete]

Mark a meeting as complete.

+ Request (application/json)

+ Attributes (object)
+ id: `46156648-87c6-478d-8aa7-1dc3a00dacab` (string, required)

+ Response 204

### meetings.delete [POST /meetings.delete]

Deletes a meeting.

+ Request (application/json)

+ Attributes (object)
+ id: `46156648-87c6-478d-8aa7-1dc3a00dacab` (string, required)

+ Response 204

## Calls [/calls]

Expand Down Expand Up @@ -7969,6 +8143,9 @@ Fetch cloudPlatform url for type and id
+ invoice.paymentRemoved
+ invoice.sent
+ invoice.updated
+ meeting.created
+ meeting.updated
+ meeting.deleted
+ milestone.created
+ milestone.updated
+ product.added
Expand Down
Loading

0 comments on commit bdd29d3

Please sign in to comment.