Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | Tickets.Add |
PUT | /VenueOwnerTicketTypeConnection |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class VenueOwnerTicketTypeConnectionUpdateRequest
{
public VenueOwnerTicketTypeConnection item = null;
public VenueOwnerTicketTypeConnection getItem() { return item; }
public VenueOwnerTicketTypeConnectionUpdateRequest setItem(VenueOwnerTicketTypeConnection value) { this.item = value; return this; }
}
public static class VenueOwnerTicketTypeConnection
{
public Integer id = null;
public Integer venueSeatingSectionId = null;
public Integer ownerTicketId = null;
public Integer maxTickets = null;
public Integer venueId = null;
public Integer getId() { return id; }
public VenueOwnerTicketTypeConnection setId(Integer value) { this.id = value; return this; }
public Integer getVenueSeatingSectionId() { return venueSeatingSectionId; }
public VenueOwnerTicketTypeConnection setVenueSeatingSectionId(Integer value) { this.venueSeatingSectionId = value; return this; }
public Integer getOwnerTicketId() { return ownerTicketId; }
public VenueOwnerTicketTypeConnection setOwnerTicketId(Integer value) { this.ownerTicketId = value; return this; }
public Integer getMaxTickets() { return maxTickets; }
public VenueOwnerTicketTypeConnection setMaxTickets(Integer value) { this.maxTickets = value; return this; }
public Integer getVenueId() { return venueId; }
public VenueOwnerTicketTypeConnection setVenueId(Integer value) { this.venueId = value; return this; }
}
public static class VenueOwnerTicketTypeConnectionResult
{
public VenueOwnerTicketTypeConnection item = null;
public Integer statusCode = null;
public String message = null;
public VenueOwnerTicketTypeConnection getItem() { return item; }
public VenueOwnerTicketTypeConnectionResult setItem(VenueOwnerTicketTypeConnection value) { this.item = value; return this; }
public Integer getStatusCode() { return statusCode; }
public VenueOwnerTicketTypeConnectionResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public VenueOwnerTicketTypeConnectionResult setMessage(String value) { this.message = value; return this; }
}
}
Java VenueOwnerTicketTypeConnectionUpdateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /VenueOwnerTicketTypeConnection HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"item":{"id":0,"venueSeatingSectionId":0,"ownerTicketId":0,"maxTickets":0,"venueId":0}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"item":{"id":0,"venueSeatingSectionId":0,"ownerTicketId":0,"maxTickets":0,"venueId":0},"statusCode":0,"message":"String"}