Interface SellerEventResource
@Path("/{version}/sellerevents")
public interface SellerEventResource
-
Method Summary
Modifier and TypeMethodDescriptionorg.oxerr.viagogo.model.response.inventory.SellerEventcreateSellerEvent(org.oxerr.viagogo.model.request.inventory.CreateSellerEventRequest r) Creates seller event.org.oxerr.viagogo.model.response.PagedResource<org.oxerr.viagogo.model.response.inventory.SellerEvent>getSellerEvents(Integer page, Integer pageSize, Instant updatedSince, String sort)
-
Method Details
-
getSellerEvents
@GET org.oxerr.viagogo.model.response.PagedResource<org.oxerr.viagogo.model.response.inventory.SellerEvent> getSellerEvents(@QueryParam("page") Integer page, @QueryParam("page_size") Integer pageSize, @QueryParam("updated_since") Instant updatedSince, @QueryParam("sort") String sort) throws IOException, ViagogoException - Parameters:
page- Specifies which page of data to retrieve.pageSize- Set custom page sizes on response.updatedSince- Filters the response to only return items that have been updated since the given timestampsort- Determines the ordering of items. A comma-separated string containingid,number_of_tickets,orresource_version.- Returns:
- events with listings that belong to the authenticated user.
- Throws:
IOException- indicates I/O exceptionViagogoException- indicates business exception
-
createSellerEvent
@PUT @Produces("application/json") @Consumes("application/json") org.oxerr.viagogo.model.response.inventory.SellerEvent createSellerEvent(org.oxerr.viagogo.model.request.inventory.CreateSellerEventRequest r) throws IOException, ViagogoException Creates seller event.- Parameters:
r- theCreateSellerEventRequest- Returns:
- the seller event.
- Throws:
IOException- indicates I/O exceptionViagogoException- indicates business exception
-