createAgendaSession

Arguments

gatheringId: (Int!)
agendaSession: (AgendaSessionParams)
GraphQL Mutation
mutation {
  createAgendaSession(agendaSession: {name: "New Training Session", startsAt: :"2018-10-20T01:00:00Z", endsAt:"2018-10-20T02:00:00Z"}, gatheringId: 232) {
    name
    startsAt
    id
  }
}
CURL Request
curl -X POST https://cms.gatherdigital.com/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -d '{ mutation { createAgendaSession(agendaSession: { name: "New Training Session", startsAt: :"2018-10-20T01:00:00Z", endsAt:"2018-10-20T02:00:00Z"}, gatheringId: 232) { name startsAt id } }'
GraphQL Response
{“data":
  { "createAgendaSession":
    { "name":"New Training Session",
      "startsAt":"2018-10-20T01:00:00Z",
      "id":"71111"
    }
  }
}

AgendaSessionParams

When creating an agenda session name and startsAt are required.

id (String) Touchpoint assigned id of the agenda session.
name (String) The name of the agenda session as it appears on the public agenda.
description (String) Text description of the event. No character limit.
startsAt (Datetime) The start date and time of the agenda session in UTC.
endsAt (Datetime) The end date and time of the agenda session in UTC.
parentAgendaSessionId (Id) For sub-sessions, this is the id of the parent session.
externalId (String) The unique ID of the agenda session from it's source (i.e., the agenda session id in your system). Not displayed.
externalSource (String) External data source of the agenda session. If you have created this agenda session in the Touchpoint system, Touchpoint will define the externalSource. Not displayed.
generateCheckInCode (String) If true, Touchpoint will set the checkInType to "code" for this agenda session and generate a code automatically.
checkInCode (String) If the checkInType includes "code", this is the relevant code
checkInType (String) Current options: unverified, scan, code, time_bounded, code_and_time_bounded, none
timeZone (String) Typically the gathering is the source of the time zone, but if the agenda session has a different time zone, include it here.
speakers [SpeakerParams] Speaker id. Note that Speaker params are structured [{ id: 23213 }]