attendees

Arguments

gatheringId: (Int!)
id: (Int!)
attendee: (AttendeeParams)

AttendeeParams

Attributes
firstName: (String!)
lastName: (String!)
Relationships
bookmarkedAgendaSessions: [AgendaSession]
surveyResponses: [SurveyResponse]
CURL Request
curl -X POST http://localhost:4000/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -d '{attendees(gatheringId: 232) {firstName lastName}}'

Nested Relationships

To request relationships, include the nested relationships and the associated attributes you wish. This query will return the lastName, id, and externalId for each attendee as well as sessions they have chosen, including the id, name, start date and time, and externalId for those sessions.

Query Example
{
  attendees(gatheringId: 232) {
    firstName
    lastName
    id
    externalId
    bookmarkedAgendaSessions {
      id
      name
      startsAt
    	externalId
    }
  }
}
CURL Request
curl -X POST http://localhost:4000/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -d '{ attendees(gatheringId: 232) { firstName lastName id externalId bookmarkedAgendaSessions { name startsAt endsAt id externalId }}}'