createAgendaSession

Arguments

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://api.certaintouchpoint.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.

Source: https://touchpoint-support.certain.com/hc/en-us/articles/360033198954-createAgendaSession

Published:

Keywords: createAgendaSession, GraphQL Mutation, CURL Request, AgendaSessionParams