An exhibitor is a company or a group that shows its work at an event (gathering in the schema, selected with gatheringId). The Exhibitor type holds the name, the description, the contact data, the location, the sponsor level, and the images.
List the exhibitors
exhibitors takes gatheringId and filters. filters is an ExhibitorFilters value. Scalars lists the four filter fields.
query ListExhibitors($gatheringId: ID!) {
exhibitors(gatheringId: $gatheringId) {
id
name
description
website
location {
name
}
feature {
id
label
}
sponsorLevel {
name
}
iconImage(style: "high_res")
headerImage
participantTypes {
name
}
relatedLinks {
name
url
}
}
}
{
"data": {
"exhibitors": [
{
"id": "701",
"name": "Acme Robotics",
"description": "<p>Robots for every task.</p>",
"website": "https://example.com",
"location": { "name": "Booth 12" },
"feature": { "id": "41", "label": "Exhibitors" },
"sponsorLevel": { "name": "Gold" },
"iconImage": "https://example.com/exhibitor_icons/701/high_res.png",
"headerImage": null,
"participantTypes": [],
"relatedLinks": []
}
]
}
}
An exhibitor also has the fields terms, participantTypes, and relatedLinks. You can read them. You cannot set them in an exhibitor mutation.
Images
iconImage and headerImage return the address of an image. Both fields take the argument style. If you do not send style, the value is original. If the exhibitor has no image, the field is null. An unknown style returns the error invalid style.
| Field | Style | Size |
|---|---|---|
iconImage |
original |
The uploaded image, scaled down to fit in 600 by 600 pixels. |
iconImage |
small |
50 by 50 pixels at most. |
iconImage |
low_res |
75 by 75 pixels at most. |
iconImage |
high_res |
150 by 150 pixels at most. |
iconImage |
three_x |
225 by 225 pixels at most. |
headerImage |
original |
The uploaded image. |
headerImage |
low_res |
320 pixels wide at most. |
headerImage |
high_res |
640 pixels wide at most. |
headerImage |
three_x |
960 pixels wide at most. |
Related types
Feature, SponsorLevel, Location, and ParticipantType are shared types. See Types.
This article is a copy of Exhibitors in the Touchpoint API documentation.
Comments
0 comments
Please sign in to leave a comment.