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://api.certaintouchpoint.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
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 codecheckInType
(String) Current options: unverified, scan, code, time_bounded, code_and_time_bounded, nonetimeZone
(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 }]
Comments
0 comments
Please sign in to leave a comment.