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.

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 subsessions, this is the id of the parent session.
externalId (String) The unqiue 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 Gather Digital system, Gather Digital will define the external_source. Not displayed.