Interface EventResource


@Path("/events") @Produces("application/json") @Consumes("application/json") public interface EventResource
  • Method Summary

    Modifier and Type
    Method
    Description
    org.oxerr.stubhub.client.model.EventInfoResponse
    addTagValues(Integer viagogoEventId, String tagName, org.oxerr.stubhub.client.model.TagValuesForNameRequest tagValuesForNameRequest)
    Add Values to an existing Tag for an Event.
    org.oxerr.stubhub.client.model.EventInfoResponse
    createTags(Integer viagogoEventId, org.oxerr.stubhub.client.model.CreateEventTagsRequest createEventTagsRequest)
    Create Seller Event Tags.
    void
    deleteTags(Integer viagogoEventId, org.oxerr.stubhub.client.model.DeleteEventTagsRequest deleteEventTagsRequest)
    Delete Seller Event Tags.
    org.oxerr.stubhub.client.model.EventInfoResponse
    deleteTagValues(Integer viagogoEventId, String tagName, org.oxerr.stubhub.client.model.TagValuesForNameRequest tagValuesForNameRequest)
    Delete Specific Values from an existing Tag for an Event.
    org.oxerr.stubhub.client.model.EventInfoResponse
    get(Integer eventId, UUID eventMappingId)
    Retrieve Event information using EventId or EventMappingId.
    List<org.oxerr.stubhub.client.model.ListingResponse>
    getInventories(Integer eventId, String section, String row, String seat, Boolean includeBuyerCommissionsPerTicket, Boolean includePastEvents)
    Get Inventories by Event Id.
    org.oxerr.stubhub.client.model.EventInfoResponse
    getTags(Integer viagogoEventId)
    Get Seller Event Tags by Viagogo Event Id.
    org.oxerr.stubhub.client.model.SectionMappingResponse
    putSectionMapping(Integer viagogoEventId, org.oxerr.stubhub.client.model.SectionMappingRequest sectionMappingRequest)
    Put Section Mapping.
    org.oxerr.stubhub.client.model.EventInfoResponse
    putTags(UUID posEventId, org.oxerr.stubhub.client.model.TagRequest tagRequest)
    Put Event Tag.
    org.oxerr.stubhub.client.model.EventInfoResponse
    updateTags(Integer viagogoEventId, org.oxerr.stubhub.client.model.UpdateEventTagsRequest updateEventTagsRequest)
    Update Seller Event Tags.
  • Method Details

    • get

      @GET org.oxerr.stubhub.client.model.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") org.oxerr.stubhub.client.model.EventInfoResponse putTags(@PathParam("posEventId") UUID posEventId, org.oxerr.stubhub.client.model.TagRequest tagRequest)
      Put Event Tag.
    • putSectionMapping

      @PUT @Path("/{viagogoEventId}/sectionmapping") org.oxerr.stubhub.client.model.SectionMappingResponse putSectionMapping(@PathParam("viagogoEventId") Integer viagogoEventId, org.oxerr.stubhub.client.model.SectionMappingRequest sectionMappingRequest)
      Put Section Mapping.
    • getTags

      @GET @Path("/{viagogoEventId}/tags") org.oxerr.stubhub.client.model.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, org.oxerr.stubhub.client.model.DeleteEventTagsRequest deleteEventTagsRequest)
      Delete Seller Event Tags.
    • createTags

      @POST @Path("/{viagogoEventId}/tags") org.oxerr.stubhub.client.model.EventInfoResponse createTags(@PathParam("viagogoEventId") Integer viagogoEventId, org.oxerr.stubhub.client.model.CreateEventTagsRequest createEventTagsRequest)
      Create Seller Event Tags. If any of the tags already exist, the request will be rejected.
    • updateTags

      @PUT @Path("/{viagogoEventId}/tags") org.oxerr.stubhub.client.model.EventInfoResponse updateTags(@PathParam("viagogoEventId") Integer viagogoEventId, org.oxerr.stubhub.client.model.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") org.oxerr.stubhub.client.model.EventInfoResponse addTagValues(@PathParam("viagogoEventId") Integer viagogoEventId, @PathParam("tagName") String tagName, org.oxerr.stubhub.client.model.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") org.oxerr.stubhub.client.model.EventInfoResponse deleteTagValues(@PathParam("viagogoEventId") Integer viagogoEventId, @PathParam("tagName") String tagName, org.oxerr.stubhub.client.model.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<org.oxerr.stubhub.client.model.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.