Requires any of the roles: | Admin, TeamAdmin | Required permission: | Tickets.Add |
PUT | /EventSeriesOwnerTicketType |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EventSeriesOwnerTicketTypeUpdateRequest
{
public EventSeriesOwnerTicketType item = null;
public EventSeriesOwnerTicketType getItem() { return item; }
public EventSeriesOwnerTicketTypeUpdateRequest setItem(EventSeriesOwnerTicketType value) { this.item = value; return this; }
}
public static class EventSeriesOwnerTicketType
{
public Integer id = null;
public String name = null;
public BigDecimal defaultPrice = null;
public Integer seriesId = null;
public Integer ownerId = null;
public Integer ticketTypeListOrder = null;
public Boolean isActive = null;
public Integer maxTickets = null;
public String ticketColor = null;
public Boolean showUsedTickets = null;
public Boolean canOnlyBeBoughtWithTeamPass = null;
public Boolean isSpecialTicket = null;
public String specialTicketId = null;
public Boolean onlyForKsi = null;
public Date timestampCreated = null;
public Date timestampLastChanged = null;
public Boolean ticketsForSalePerEvent = null;
public String imageUrl = null;
public Boolean holderInfoRequired = null;
public Integer eventSeriesOwnerSeatingSectionId = null;
public Boolean canOnlyBeBought = null;
public Boolean canNotBeBought = null;
public Boolean blockTransfer = null;
public Integer maxTicketsPerTransaction = null;
public Boolean forceSingleTickets = null;
public Integer onlyForEvent = null;
public String currency = null;
public Integer getId() { return id; }
public EventSeriesOwnerTicketType setId(Integer value) { this.id = value; return this; }
public String getName() { return name; }
public EventSeriesOwnerTicketType setName(String value) { this.name = value; return this; }
public BigDecimal getDefaultPrice() { return defaultPrice; }
public EventSeriesOwnerTicketType setDefaultPrice(BigDecimal value) { this.defaultPrice = value; return this; }
public Integer getSeriesId() { return seriesId; }
public EventSeriesOwnerTicketType setSeriesId(Integer value) { this.seriesId = value; return this; }
public Integer getOwnerId() { return ownerId; }
public EventSeriesOwnerTicketType setOwnerId(Integer value) { this.ownerId = value; return this; }
public Integer getTicketTypeListOrder() { return ticketTypeListOrder; }
public EventSeriesOwnerTicketType setTicketTypeListOrder(Integer value) { this.ticketTypeListOrder = value; return this; }
public Boolean getIsActive() { return isActive; }
public EventSeriesOwnerTicketType setIsActive(Boolean value) { this.isActive = value; return this; }
public Integer getMaxTickets() { return maxTickets; }
public EventSeriesOwnerTicketType setMaxTickets(Integer value) { this.maxTickets = value; return this; }
public String getTicketColor() { return ticketColor; }
public EventSeriesOwnerTicketType setTicketColor(String value) { this.ticketColor = value; return this; }
public Boolean isShowUsedTickets() { return showUsedTickets; }
public EventSeriesOwnerTicketType setShowUsedTickets(Boolean value) { this.showUsedTickets = value; return this; }
public Boolean isCanOnlyBeBoughtWithTeamPass() { return canOnlyBeBoughtWithTeamPass; }
public EventSeriesOwnerTicketType setCanOnlyBeBoughtWithTeamPass(Boolean value) { this.canOnlyBeBoughtWithTeamPass = value; return this; }
public Boolean getIsSpecialTicket() { return isSpecialTicket; }
public EventSeriesOwnerTicketType setIsSpecialTicket(Boolean value) { this.isSpecialTicket = value; return this; }
public String getSpecialTicketId() { return specialTicketId; }
public EventSeriesOwnerTicketType setSpecialTicketId(String value) { this.specialTicketId = value; return this; }
public Boolean isOnlyForKsi() { return onlyForKsi; }
public EventSeriesOwnerTicketType setOnlyForKsi(Boolean value) { this.onlyForKsi = value; return this; }
public Date getTimestampCreated() { return timestampCreated; }
public EventSeriesOwnerTicketType setTimestampCreated(Date value) { this.timestampCreated = value; return this; }
public Date getTimestampLastChanged() { return timestampLastChanged; }
public EventSeriesOwnerTicketType setTimestampLastChanged(Date value) { this.timestampLastChanged = value; return this; }
public Boolean isTicketsForSalePerEvent() { return ticketsForSalePerEvent; }
public EventSeriesOwnerTicketType setTicketsForSalePerEvent(Boolean value) { this.ticketsForSalePerEvent = value; return this; }
public String getImageUrl() { return imageUrl; }
public EventSeriesOwnerTicketType setImageUrl(String value) { this.imageUrl = value; return this; }
public Boolean isHolderInfoRequired() { return holderInfoRequired; }
public EventSeriesOwnerTicketType setHolderInfoRequired(Boolean value) { this.holderInfoRequired = value; return this; }
public Integer getEventSeriesOwnerSeatingSectionId() { return eventSeriesOwnerSeatingSectionId; }
public EventSeriesOwnerTicketType setEventSeriesOwnerSeatingSectionId(Integer value) { this.eventSeriesOwnerSeatingSectionId = value; return this; }
public Boolean isCanOnlyBeBought() { return canOnlyBeBought; }
public EventSeriesOwnerTicketType setCanOnlyBeBought(Boolean value) { this.canOnlyBeBought = value; return this; }
public Boolean isCanNotBeBought() { return canNotBeBought; }
public EventSeriesOwnerTicketType setCanNotBeBought(Boolean value) { this.canNotBeBought = value; return this; }
public Boolean isBlockTransfer() { return blockTransfer; }
public EventSeriesOwnerTicketType setBlockTransfer(Boolean value) { this.blockTransfer = value; return this; }
public Integer getMaxTicketsPerTransaction() { return maxTicketsPerTransaction; }
public EventSeriesOwnerTicketType setMaxTicketsPerTransaction(Integer value) { this.maxTicketsPerTransaction = value; return this; }
public Boolean isForceSingleTickets() { return forceSingleTickets; }
public EventSeriesOwnerTicketType setForceSingleTickets(Boolean value) { this.forceSingleTickets = value; return this; }
public Integer getOnlyForEvent() { return onlyForEvent; }
public EventSeriesOwnerTicketType setOnlyForEvent(Integer value) { this.onlyForEvent = value; return this; }
public String getCurrency() { return currency; }
public EventSeriesOwnerTicketType setCurrency(String value) { this.currency = value; return this; }
}
public static class EventSeriesOwnerTicketTypeResult
{
public EventSeriesOwnerTicketType item = null;
public Integer statusCode = null;
public String message = null;
public EventSeriesOwnerTicketType getItem() { return item; }
public EventSeriesOwnerTicketTypeResult setItem(EventSeriesOwnerTicketType value) { this.item = value; return this; }
public Integer getStatusCode() { return statusCode; }
public EventSeriesOwnerTicketTypeResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public EventSeriesOwnerTicketTypeResult setMessage(String value) { this.message = value; return this; }
}
}
Java EventSeriesOwnerTicketTypeUpdateRequest 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 /EventSeriesOwnerTicketType HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"item":{"id":0,"name":"String","defaultPrice":0,"seriesId":0,"ownerId":0,"ticketTypeListOrder":0,"isActive":false,"maxTickets":0,"ticketColor":"String","showUsedTickets":false,"canOnlyBeBoughtWithTeamPass":false,"isSpecialTicket":false,"specialTicketId":"String","onlyForKsi":false,"timestampCreated":"0001-01-01T00:00:00.0000000","timestampLastChanged":"0001-01-01T00:00:00.0000000","ticketsForSalePerEvent":false,"imageUrl":"String","holderInfoRequired":false,"eventSeriesOwnerSeatingSectionId":0,"canOnlyBeBought":false,"canNotBeBought":false,"blockTransfer":false,"maxTicketsPerTransaction":0,"forceSingleTickets":false,"onlyForEvent":0,"currency":"String"}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"item":{"id":0,"name":"String","defaultPrice":0,"seriesId":0,"ownerId":0,"ticketTypeListOrder":0,"isActive":false,"maxTickets":0,"ticketColor":"String","showUsedTickets":false,"canOnlyBeBoughtWithTeamPass":false,"isSpecialTicket":false,"specialTicketId":"String","onlyForKsi":false,"timestampCreated":"0001-01-01T00:00:00.0000000","timestampLastChanged":"0001-01-01T00:00:00.0000000","ticketsForSalePerEvent":false,"imageUrl":"String","holderInfoRequired":false,"eventSeriesOwnerSeatingSectionId":0,"canOnlyBeBought":false,"canNotBeBought":false,"blockTransfer":false,"maxTicketsPerTransaction":0,"forceSingleTickets":false,"onlyForEvent":0,"currency":"String"},"statusCode":0,"message":"String"}