Configuration of the various Badges people will ultimately purchase.
You'll need the registration
ConventionPrivilege to edit these.
Badge Types are accessed via /api/badgetype
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in BadgeTypeProperties. It also has these extra read-only properties:
The number of badges still available for this badge type.
Fields sold_count
and max_available_count
are deprecated and replaced in use by taken_count
and max_quantity
,
respectively.
See "Related Objects" in Introduction for how to use them.
BadgeTypeCategory is a relationship that allows the grouping of like badge types together.
The Convention this badgetype belongs to.
See "Relationships" in Introduction for how to use them.
The list of Badges that have been created for this badge type.
BadgeTypeConDays manage the relationship between badge types and ConventionDays.
BadgeTypeDiscounts manage the relationship between badge types and Discounts.
BadgeTypeProducts manage the relationship between badge types and complimentary Products.
If using the exhibitor management system, then BoothTypes may give away a certain quantity of free badges and they'll select which badge type to give away.
The Products complimentary with a badge of this badge type.
The ConventionDays this badge is allowed to enter the convention, and buy Tickets for if ticketing is enabled.
The Discounts usable when buying a Badge based upon this badge type. (Associated via "badgetypediscounts".)
EventGroupBadgeTypes manage the relationship between badge types and EventGroups.
If ticketing is enabled and event groups are enabled then this is the list of EventGroups that this badge type has access to buy events for.
If the convention is set to require Volunteers to have a Badge for the same day they want to volunteer, ShiftBadgeTypes manage the relationship between Shifts and their supporting badge types.
The list of Sponsorships offering complimentary badges of this badge type.
The services used to fetch and manipulate badgetypes.
This will search across all conventions. To search on a single convention see "Relationships" in Convention.
GET /api/badgetype
Searches a partial name.
Returns:
{ "paging" : {...}, "items" : [ { "id" : "xxx", "name" : "Weekend Badge", ... }, ... ] }
POST /api/badgetype
Returns the same as a normal read.
GET /api/badgetype/xxx
Returns:
{ "id" : "xxx", "name" : "Weekend Badge", ... }
PUT /api/badgetype/xxx
Returns the same as a normal read.
DELETE /api/badgetype/xxx
Returns:
{ "success" : 1 }
Gets the badge type's complimentary products, if any, but limited to those still available. See "complimentary_products".
GET /api/badgetype/xxx/complimentary_products/available
Returns the same as a normal read from "complimentary_products".
Gets any Discounts still available to the badge type.
GET /api/badgetype/xxx/available-discounts
Returns the list of Discounts.