Interface ListingResource
@Path("/listings/v1")
@Produces("application/json")
@Consumes("application/json")
public interface ListingResource
-
Method Summary
Modifier and TypeMethodDescriptiondeleteListing(String apiToken, String ticketId) Delete a listing.updateListing(String apiToken, String ticketId, Integer quantity, String section, String row, String seatFrom, String seatThru, String notes, BigDecimal price, Boolean electronic, String inHandDate, SplitType splitType, String splitValue, List<String> barcode, BigDecimal faceValue, BigDecimal unitTaxedCost) Updates a listing.
-
Method Details
-
deleteListing
@GET @Path("/deleteListing") Response deleteListing(@QueryParam("apiToken") String apiToken, @QueryParam("ticketId") String ticketId) throws IOException, VividSeatsException Delete a listing. XML or JSON response. The deleteListing method allows you to delete a listing in real-time. Not rate limited- Parameters:
apiToken- The API token.ticketId- The ticket ID.- Returns:
- the response of the deletion request.
- Throws:
IOException- if an I/O error occurs.VividSeatsException- if an error occurs.
-
updateListing
@POST @Path("/updateListing") Response updateListing(@FormParam("apiToken") String apiToken, @FormParam("ticketId") String ticketId, @FormParam("quantity") Integer quantity, @FormParam("section") String section, @FormParam("row") String row, @FormParam("seatFrom") String seatFrom, @FormParam("seatThru") String seatThru, @FormParam("notes") String notes, @FormParam("price") BigDecimal price, @FormParam("electronic") Boolean electronic, @FormParam("inHandDate") String inHandDate, @FormParam("splitType") SplitType splitType, @FormParam("splitValue") String splitValue, @FormParam("barcode") List<String> barcode, @FormParam("faceValue") BigDecimal faceValue, @FormParam("unitTaxedCost") BigDecimal unitTaxedCost) throws IOException, VividSeatsException Updates a listing. XML or JSON responses. The updateListing method allows you to update a listing in real-time. Only parameters you pass in to the method will be updated. The ticketId is your internal unique ID associated with the listing. Not rate limited- Parameters:
apiToken- The API token.ticketId- The ticket ID.quantity- The quantity of tickets.section- The section.row- The row.seatFrom- The seat from.seatThru- The seat thru.notes- The notes.price- The price.electronic- The electronic.inHandDate- The in hand date.splitType- The split type.splitValue- The split value.barcode- The barcode.faceValue- The face value.unitTaxedCost- The unit taxed cost.- Returns:
- the response.
- Throws:
IOException- if an I/O error occurs.VividSeatsException- if an error occurs.- See Also:
-