Requires any of the roles: | Admin, TeamAdmin, MobileApp | Required permission: | ReadData |
POST | /EventOwnerTicketTypeToCardConnections |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EventOwnerTicketTypeToCardConnectionSearchRequest
{
public Integer cardTypeId = null;
public Integer ticketTypeId = null;
public Integer getCardTypeId() { return cardTypeId; }
public EventOwnerTicketTypeToCardConnectionSearchRequest setCardTypeId(Integer value) { this.cardTypeId = value; return this; }
public Integer getTicketTypeId() { return ticketTypeId; }
public EventOwnerTicketTypeToCardConnectionSearchRequest setTicketTypeId(Integer value) { this.ticketTypeId = value; return this; }
}
public static class EventOwnerTicketTypeToCardConnectionSearchResult
{
public ArrayList<EventOwnerTicketTypeToCardConnection> items = null;
public Integer statusCode = null;
public String message = null;
public ArrayList<EventOwnerTicketTypeToCardConnection> getItems() { return items; }
public EventOwnerTicketTypeToCardConnectionSearchResult setItems(ArrayList<EventOwnerTicketTypeToCardConnection> value) { this.items = value; return this; }
public Integer getStatusCode() { return statusCode; }
public EventOwnerTicketTypeToCardConnectionSearchResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public EventOwnerTicketTypeToCardConnectionSearchResult setMessage(String value) { this.message = value; return this; }
}
public static class EventOwnerTicketTypeToCardConnection
{
public Integer id = null;
public Integer ownerCardTypeId = null;
public Integer ownerTicketTypeId = null;
public Boolean active = null;
public Integer getId() { return id; }
public EventOwnerTicketTypeToCardConnection setId(Integer value) { this.id = value; return this; }
public Integer getOwnerCardTypeId() { return ownerCardTypeId; }
public EventOwnerTicketTypeToCardConnection setOwnerCardTypeId(Integer value) { this.ownerCardTypeId = value; return this; }
public Integer getOwnerTicketTypeId() { return ownerTicketTypeId; }
public EventOwnerTicketTypeToCardConnection setOwnerTicketTypeId(Integer value) { this.ownerTicketTypeId = value; return this; }
public Boolean isActive() { return active; }
public EventOwnerTicketTypeToCardConnection setActive(Boolean value) { this.active = value; return this; }
}
}
Java EventOwnerTicketTypeToCardConnectionSearchRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /EventOwnerTicketTypeToCardConnections HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<EventOwnerTicketTypeToCardConnectionSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<CardTypeId>0</CardTypeId>
<TicketTypeId>0</TicketTypeId>
</EventOwnerTicketTypeToCardConnectionSearchRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <EventOwnerTicketTypeToCardConnectionSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel"> <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types"> <d2p1:EventOwnerTicketTypeToCardConnection> <d2p1:Active>false</d2p1:Active> <d2p1:ID>0</d2p1:ID> <d2p1:OwnerCardTypeId>0</d2p1:OwnerCardTypeId> <d2p1:OwnerTicketTypeId>0</d2p1:OwnerTicketTypeId> </d2p1:EventOwnerTicketTypeToCardConnection> </Items> <Message>String</Message> <StatusCode>0</StatusCode> </EventOwnerTicketTypeToCardConnectionSearchResult>