TicketUserServices

<back to all web services

EventOwnerTicketTypeToCardConnectionUpdateRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin, MobileAppRequired permission:Tickets.Add
The following routes are available for this service:
PUT/EventOwnerTicketTypeToCardConnection
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventOwnerTicketTypeToCardConnectionUpdateRequest
    {
        public EventOwnerTicketTypeToCardConnection item = null;
        
        public EventOwnerTicketTypeToCardConnection getItem() { return item; }
        public EventOwnerTicketTypeToCardConnectionUpdateRequest setItem(EventOwnerTicketTypeToCardConnection value) { this.item = 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; }
    }

    public static class EventOwnerTicketTypeToCardConnectionResult
    {
        public EventOwnerTicketTypeToCardConnection item = null;
        public Integer statusCode = null;
        public String message = null;
        
        public EventOwnerTicketTypeToCardConnection getItem() { return item; }
        public EventOwnerTicketTypeToCardConnectionResult setItem(EventOwnerTicketTypeToCardConnection value) { this.item = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventOwnerTicketTypeToCardConnectionResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventOwnerTicketTypeToCardConnectionResult setMessage(String value) { this.message = value; return this; }
    }

}

Java EventOwnerTicketTypeToCardConnectionUpdateRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /EventOwnerTicketTypeToCardConnection HTTP/1.1 
Host: stubbur-autoupdates-live.smartnewapis.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	item: 
	{
		id: 0,
		ownerCardTypeId: 0,
		ownerTicketTypeId: 0,
		active: False
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	item: 
	{
		id: 0,
		ownerCardTypeId: 0,
		ownerTicketTypeId: 0,
		active: False
	},
	statusCode: 0,
	message: String
}