updateAgendaSession

Arguments

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

AgendaSessionParams

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.