createMeeting

Overview

Arguments

GraphQL Mutation

mutation {
  createMeeting(gatheringId:232, meeting: {
    name:"BetaGroup Company Presentation" startsAt:"2018-07-22T20:35:09Z"
    endsAt: "2018-07-28T20:35:09Z"
    surveys: [{externalId:"meeting_survey"}]
    participants: [
      { participantKind: "attendee", participantId: 2771895, roleLabel: "Investor" }
      { participantKind: "attendee", participantId: 208711, customMeetingName: "Meeting with BetaGroup" }
    ]}
  ) {
    name
    description
    startsAt
    endsAt
    externalId
    externalSource
    participants {
      customMeetingName
      participantId
      participantKind
      roleLabel
    }
  }
}

CURL Request

curl -X POST https://api.certaintouchpoint.com/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -d '{ mutation { createMeeting(meeting: { name:"BetaGroup Company Presentation" startsAt:"2018-07-22T20:35:09Z" endsAt: "2018-07-28T20:35:09Z" participants: [{ participantKind: "attendee", participantId: 2771895, roleLabel: "Investor" } { participantKind: "attendee", participantId: 208711, customMeetingName: "Meeting with BetaGroup" }]}, gatheringId: 232) { name description startsAt endsAt externalId externalSource participants { customMeetingName participantId participantKind roleLabel } }'

GraphQL Response

{ "data":
{"createMeeting": {
"startsAt": "2018-07-22T20:35:09Z",
"participants": [
{
"roleLabel": null,
"participantKind": "attendee",
"participantId": 2771895,
"customMeetingName": null
},
{
"roleLabel": "Investor",
"participantKind": "attendee",
"participantId": 208711,
"customMeetingName": "Meeting with BetaGroup"
}
],
"name": "BetaGroup Company Presentation10",
"externalSource": null,
"externalId": null,
"endsAt": "2018-07-28T20:35:09Z",
"description": ""
}
}
}

MeetingParams

Creating Relationships

MeetingParticipantParams

Related Articles