1 package org.oxerr.vividseats.client.rescu.resource.v1;
2
3 import java.io.IOException;
4 import java.math.BigDecimal;
5 import java.util.List;
6
7 import org.oxerr.vividseats.client.model.SplitType;
8 import org.oxerr.vividseats.client.rescu.resource.Response;
9 import org.oxerr.vividseats.client.rescu.resource.VividSeatsException;
10
11 import jakarta.ws.rs.Consumes;
12 import jakarta.ws.rs.FormParam;
13 import jakarta.ws.rs.POST;
14 import jakarta.ws.rs.Path;
15 import jakarta.ws.rs.Produces;
16 import jakarta.ws.rs.core.MediaType;
17
18 @Path("/listings/v1")
19 @Produces(MediaType.APPLICATION_JSON)
20 @Consumes(MediaType.APPLICATION_JSON)
21 public interface ListingResource {
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54 @POST
55 @Path("/updateListing")
56 Response updateListing(
57 @FormParam("ticketId") String ticketId,
58 @FormParam("quantity") Integer quantity,
59 @FormParam("section") String section,
60 @FormParam("row") String row,
61 @FormParam("seatFrom") String seatFrom,
62 @FormParam("seatThru") String seatThru,
63 @FormParam("notes") String notes,
64 @FormParam("price") BigDecimal price,
65 @FormParam("electronic") Boolean electronic,
66 @FormParam("inHandDate") String inHandDate,
67 @FormParam("splitType") SplitType splitType,
68 @FormParam("splitValue") String splitValue,
69 @FormParam("barcode") List<String> barcode,
70 @FormParam("faceValue") BigDecimal faceValue,
71 @FormParam("unitTaxedCost") BigDecimal unitTaxedCost
72 ) throws IOException, VividSeatsException;
73
74 }