Interface EventResource
@Path("/events")
@Produces("application/json")
@Consumes("application/json")
public interface EventResource
-
Method Summary
Modifier and TypeMethodDescriptionaddTagValues(Integer viagogoEventId, String tagName, TagValuesForNameRequest tagValuesForNameRequest) Add Values to an existing Tag for an Event.createTags(Integer viagogoEventId, CreateEventTagsRequest createEventTagsRequest) Create Seller Event Tags.voiddeleteTags(Integer viagogoEventId, DeleteEventTagsRequest deleteEventTagsRequest) Delete Seller Event Tags.deleteTagValues(Integer viagogoEventId, String tagName, TagValuesForNameRequest tagValuesForNameRequest) Delete Specific Values from an existing Tag for an Event.Retrieve Event information using EventId or EventMappingId.getInventories(Integer eventId, String section, String row, String seat, Boolean includeBuyerCommissionsPerTicket, Boolean includePastEvents) Get Inventories by Event Id.Get Seller Event Tags by Viagogo Event Id.putSectionMapping(Integer viagogoEventId, SectionMappingRequest sectionMappingRequest) Put Section Mapping.putTags(UUID posEventId, TagRequest tagRequest) Put Event Tag.updateTags(Integer viagogoEventId, UpdateEventTagsRequest updateEventTagsRequest) Update Seller Event Tags.
-
Method Details
-
get
@GET EventInfoResponse get(@QueryParam("eventId") Integer eventId, @QueryParam("eventMappingId") UUID eventMappingId) Retrieve Event information using EventId or EventMappingId.- Parameters:
eventId- the id of the event.eventMappingId- the mapping GUID of the unmapped event.- Returns:
- the event information.
-
putTags
@PUT @Path("/posevents/{posEventId}/tags") EventInfoResponse putTags(@PathParam("posEventId") UUID posEventId, TagRequest tagRequest) Put Event Tag. -
putSectionMapping
@PUT @Path("/{viagogoEventId}/sectionmapping") SectionMappingResponse putSectionMapping(@PathParam("viagogoEventId") Integer viagogoEventId, SectionMappingRequest sectionMappingRequest) Put Section Mapping. -
getTags
@GET @Path("/{viagogoEventId}/tags") EventInfoResponse getTags(@PathParam("viagogoEventId") Integer viagogoEventId) Get Seller Event Tags by Viagogo Event Id. -
deleteTags
@DELETE @Path("/{viagogoEventId}/tags") void deleteTags(@PathParam("viagogoEventId") Integer viagogoEventId, DeleteEventTagsRequest deleteEventTagsRequest) Delete Seller Event Tags. -
createTags
@POST @Path("/{viagogoEventId}/tags") EventInfoResponse createTags(@PathParam("viagogoEventId") Integer viagogoEventId, CreateEventTagsRequest createEventTagsRequest) Create Seller Event Tags. If any of the tags already exist, the request will be rejected. -
updateTags
@PUT @Path("/{viagogoEventId}/tags") EventInfoResponse updateTags(@PathParam("viagogoEventId") Integer viagogoEventId, UpdateEventTagsRequest updateEventTagsRequest) Update Seller Event Tags. If any of the tags already exist, the request will replace the values. -
addTagValues
@POST @Path("/{viagogoEventId}/tags/{tagName}/tagValues") EventInfoResponse addTagValues(@PathParam("viagogoEventId") Integer viagogoEventId, @PathParam("tagName") String tagName, TagValuesForNameRequest tagValuesForNameRequest) Add Values to an existing Tag for an Event. If any of the tag values already exist, the request will be rejected. -
deleteTagValues
@DELETE @Path("/{viagogoEventId}/tags/{tagName}/tagValues") EventInfoResponse deleteTagValues(@PathParam("viagogoEventId") Integer viagogoEventId, @PathParam("tagName") String tagName, TagValuesForNameRequest tagValuesForNameRequest) Delete Specific Values from an existing Tag for an Event. If any of the tag values don't exist, the request will be rejected. -
getInventories
@GET @Path("/{eventId}/inventory") List<ListingResponse> getInventories(@PathParam("eventId") Integer eventId, @QueryParam("section") String section, @QueryParam("row") String row, @QueryParam("seat") String seat, @QueryParam("includeBuyerCommissionsPerTicket") Boolean includeBuyerCommissionsPerTicket, @QueryParam("includePastEvents") Boolean includePastEvents) Get Inventories by Event Id.- Parameters:
eventId- the Id of the Event to look up Inventory. Required.section- the section of the inventory to look up.row- the row of the inventory to look up.seat- the seat of the inventory to look up.includeBuyerCommissionsPerTicket- whether to include buyer commissions per ticket in the response. Default is false.includePastEvents- whether to include past events in the search. Default is false- Returns:
- the list of inventories for the Event that match the search criteria.
-