Interface SellerEventResource
@Path("/{version}/sellerevents")
public interface SellerEventResource
-
Method Summary
Modifier and TypeMethodDescriptionCreates seller event.getSellerEvents(Integer page, Integer pageSize, Instant updatedSince, String sort)
-
Method Details
-
getSellerEvents
@GET PagedResource<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") SellerEvent createSellerEvent(CreateSellerEventRequest r) throws IOException, ViagogoException Creates seller event.- Parameters:
r- theCreateSellerEventRequest- Returns:
- the seller event.
- Throws:
IOException- indicates I/O exceptionViagogoException- indicates business exception
-