Easymailing
Meetings

Edit or reschedule a meeting

PUT /meetings/{uuid}

PUT/meetings/{uuid}

Changes a meeting in Google Calendar: title, description, time, place, video call and guests. Send only the fields to change; omitted fields stay as they are. The write to Google happens during the request. The response is a receipt (202).

When to use: To reschedule a meeting, rename it, change its place or video call, or add or remove guests. Read the meeting first with get_meeting (its version, writable_sources, guests and can_edit).

When not to use: To cancel the meeting, use cancel_meeting. To change only which CRM records it is related to, use replace_meeting_relations, which does not touch Google and invites nobody. All-day, cancelled and other people's meetings cannot be edited. For a recurring meeting only the occurrence you read is changed, never the series.

Side effects: This can reach other people. Easymailing patches the event in the user's Google Calendar during the request, and Google, not Easymailing, emails the guests according to send_updates: all tells every guest about the change, such as the new time, the new video call or being added or removed (people removed from attendees receive a cancellation, people added receive an invitation); external_only only guests who do not use Google Calendar; none nobody. Only what really differs is sent to Google; a request that changes nothing is refused with no_changes and sends nothing. If Google does not answer clearly the receipt is uncertain and the change may or may not be applied; Easymailing keeps checking in the background and does not write again. Once confirmed, a meeting.rescheduled entry appears in the activity of the related records when the time changed, done by the person who owns the token (marked «via Maia» when Maia made the request), and new outside guests may be created as contacts in the background according to the record creation settings.

Permissions: Requires a CRM seat and the crm.contacts_companies.write capability. Only the organizer of the event can change it (the connected Google account that owns it), from a calendar of their own that is writable. can_edit in get_meeting tells you beforehand.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the meeting. Get it from list_meetings.

Formatuuid

Request Body

The updated MeetingWriteReceipt resource

TypeScript Definitions

Use the request body type in TypeScript.

get_meeting_write_receipt (fase 5): the receipt of a create, change or cancel of a meeting, only for the user who made the write, and the writes that answer it (202): create_meeting, update_meeting and cancel_meeting, which write the event in Google during the request. Generated from the proposal by fase-5/tools/gen_meetings_api.py; the texts are the proposal's.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://api.easymailing.com/meetings/5e8c2d41-7a96-4b30-9d1f-3c0a8e6b2f74" \  -H "X-Auth-Token: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "client_request_id": "d3955698-d564-4249-a930-7f208849c52e",    "connection_uuid": "064e6067-9daf-4991-a9e8-389d4e1f45a0",    "send_updates": "all",    "expected_version": 1,    "title": "string",    "description": "string",    "starts_at": "2019-08-24T14:15:22Z",    "ends_at": "2019-08-24T14:15:22Z",    "time_zone": "string",    "location": "string",    "conference": "none",    "conference_url": "http://example.com",    "attendees": [      {        "email": "user@example.com",        "name": "string"      }    ]  }'
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "action": "create_event",  "state": "pending",  "meeting": "/entity/1",  "error_code": "permission_missing"}