Docs / API

Types

Many queries and mutations use the same object types. This page says what each shared type holds and where you use it. The reference page of each type lists all of its fields.

Session

The login mutation returns a Session. It has one field, token. The token is valid for one day.

Location

A Location has a name. It is the place of an agenda session, a meeting, or an exhibitor.

To set a place, send LocationParams with a name. Agenda sessions, meetings, and exhibitors accept it.

Terms and groups

A group holds terms. A term belongs to one group. The two types are Group and Term.

  • A Term has an id, a name, and a group.
  • A Group has an id, a name, and the gatheringId of the event (gathering in the schema, selected with gatheringId).

An agenda session has a terms field. To set the terms of a session, send a list of TermParams. Each item has a name and a group. The group is a GroupParams with a name.

Only agenda sessions accept terms in input. An exhibitor has a terms field that you can read but not set.

Participant types

A ParticipantType has a name. Agenda sessions and exhibitors list the participant types that can see them. Attendees list the participant types that Touchpoint applied to them. All three have a participantTypes field.

To set the participant types of an attendee, send the names in participantTypes. This field takes a list of strings.

Features and sponsor levels

An exhibitor belongs to one feature and one sponsor level.

  • A Feature has an id and a label. To pick the feature of an exhibitor, send FeatureParams with the label of an exhibitor feature that exists.
  • A SponsorLevel has an id and a name. To set the level, send SponsorLevelParams with a name. If the level does not exist, Touchpoint creates it.

Custom fields

An attendee and a lead have a fieldValues field. It lists the values of the custom fields.

  • A FieldValue has an id, a value, and a fieldDefinition. The value is a string. For a field that allows more than one choice, the string joins the choices with the | character.
  • A FieldDefinition has an id, a label, a fieldType, and options. The fieldType is input, rating, or choice. The options field has the type Json.

Education credits

An agenda session has an educationCredits field. Each EducationCredit has an id, an amount, and a type. The type is the label of the credit type.

To set the credits of a session, send a list of EducationCreditParams. Each item needs a type and an amount. Touchpoint finds the credit type by its label. If the type does not exist, Touchpoint creates it.

Surveys

A survey response uses three types.

  • A Survey has an id and a name.
  • A SurveyQuestion has an id, a name, and a questionType. The questionType is rating, yes-no, choice, or comment. For a choice question, questionData lists the choices, separated by the | character. correctAnswer holds the correct choice, if the question has one.
  • A SurveyAnswer has an id, an answer, a surveyQuestionId, and the question.

To link a meeting to a survey that exists, send SurveyParams with the externalId of the survey.

Meeting participants

A MeetingParticipant is one person or company in a meeting. It has these fields.

Field Description
participantId The id of the attendee or exhibitor.
participantKind The kind of participant. In a response the value can be attendee, exhibitor, or speaker.
roleLabel A label for the role, such as moderator.
customMeetingName A meeting name for this participant only. It replaces the name of the meeting.
neutralParty true for a neutral participant in a competitive meeting.

In a mutation, participantKind must be attendee or exhibitor. Any other value returns an error.

Paging

The attendeesConnection query returns a PageInfo. See Pagination.