TicketUserServices

<back to all web services

EventSeatingTableActionsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:Tickets.Add
The following routes are available for this service:
POST/EventSeating/TableActions
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventSeatingTableActionsRequest
    {
        public Integer eventId = null;
        public ArrayList<Integer> sectionIds = null;
        public String action = null;
        public String note = null;
        public String blockedNote = null;
        public Boolean tablesOnly = null;
        
        public Integer getEventId() { return eventId; }
        public EventSeatingTableActionsRequest setEventId(Integer value) { this.eventId = value; return this; }
        public ArrayList<Integer> getSectionIds() { return sectionIds; }
        public EventSeatingTableActionsRequest setSectionIds(ArrayList<Integer> value) { this.sectionIds = value; return this; }
        public String getAction() { return action; }
        public EventSeatingTableActionsRequest setAction(String value) { this.action = value; return this; }
        public String getNote() { return note; }
        public EventSeatingTableActionsRequest setNote(String value) { this.note = value; return this; }
        public String getBlockedNote() { return blockedNote; }
        public EventSeatingTableActionsRequest setBlockedNote(String value) { this.blockedNote = value; return this; }
        public Boolean isTablesOnly() { return tablesOnly; }
        public EventSeatingTableActionsRequest setTablesOnly(Boolean value) { this.tablesOnly = value; return this; }
    }

    public static class EventSeatingTableActionsResult
    {
        public Integer statusCode = null;
        public String message = null;
        public String action = null;
        public Integer eventId = null;
        public ArrayList<EventSeatingTableActionResult> results = null;
        public EventSeatingTableActionsTotals totals = null;
        public Long elapsedMs = null;
        
        public Integer getStatusCode() { return statusCode; }
        public EventSeatingTableActionsResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventSeatingTableActionsResult setMessage(String value) { this.message = value; return this; }
        public String getAction() { return action; }
        public EventSeatingTableActionsResult setAction(String value) { this.action = value; return this; }
        public Integer getEventId() { return eventId; }
        public EventSeatingTableActionsResult setEventId(Integer value) { this.eventId = value; return this; }
        public ArrayList<EventSeatingTableActionResult> getResults() { return results; }
        public EventSeatingTableActionsResult setResults(ArrayList<EventSeatingTableActionResult> value) { this.results = value; return this; }
        public EventSeatingTableActionsTotals getTotals() { return totals; }
        public EventSeatingTableActionsResult setTotals(EventSeatingTableActionsTotals value) { this.totals = value; return this; }
        public Long getElapsedMs() { return elapsedMs; }
        public EventSeatingTableActionsResult setElapsedMs(Long value) { this.elapsedMs = value; return this; }
    }

    public static class EventSeatingTableActionResult
    {
        public Integer sectionId = null;
        public String sectionName = null;
        public Boolean isTable = null;
        public Boolean ok = null;
        public String error = null;
        public ArrayList<Integer> blockedSeatIds = null;
        public ArrayList<Integer> unblockedSeatIds = null;
        public ArrayList<Integer> skippedSeatIds = null;
        public ArrayList<Integer> alreadyBlockedSeatIds = null;
        public Boolean isHidden = null;
        public Boolean showSeats = null;
        public String note = null;
        public String viewType = null;
        
        public Integer getSectionId() { return sectionId; }
        public EventSeatingTableActionResult setSectionId(Integer value) { this.sectionId = value; return this; }
        public String getSectionName() { return sectionName; }
        public EventSeatingTableActionResult setSectionName(String value) { this.sectionName = value; return this; }
        public Boolean getIsTable() { return isTable; }
        public EventSeatingTableActionResult setIsTable(Boolean value) { this.isTable = value; return this; }
        public Boolean isOk() { return ok; }
        public EventSeatingTableActionResult setOk(Boolean value) { this.ok = value; return this; }
        public String getError() { return error; }
        public EventSeatingTableActionResult setError(String value) { this.error = value; return this; }
        public ArrayList<Integer> getBlockedSeatIds() { return blockedSeatIds; }
        public EventSeatingTableActionResult setBlockedSeatIds(ArrayList<Integer> value) { this.blockedSeatIds = value; return this; }
        public ArrayList<Integer> getUnblockedSeatIds() { return unblockedSeatIds; }
        public EventSeatingTableActionResult setUnblockedSeatIds(ArrayList<Integer> value) { this.unblockedSeatIds = value; return this; }
        public ArrayList<Integer> getSkippedSeatIds() { return skippedSeatIds; }
        public EventSeatingTableActionResult setSkippedSeatIds(ArrayList<Integer> value) { this.skippedSeatIds = value; return this; }
        public ArrayList<Integer> getAlreadyBlockedSeatIds() { return alreadyBlockedSeatIds; }
        public EventSeatingTableActionResult setAlreadyBlockedSeatIds(ArrayList<Integer> value) { this.alreadyBlockedSeatIds = value; return this; }
        public Boolean getIsHidden() { return isHidden; }
        public EventSeatingTableActionResult setIsHidden(Boolean value) { this.isHidden = value; return this; }
        public Boolean isShowSeats() { return showSeats; }
        public EventSeatingTableActionResult setShowSeats(Boolean value) { this.showSeats = value; return this; }
        public String getNote() { return note; }
        public EventSeatingTableActionResult setNote(String value) { this.note = value; return this; }
        public String getViewType() { return viewType; }
        public EventSeatingTableActionResult setViewType(String value) { this.viewType = value; return this; }
    }

    public static class EventSeatingTableActionsTotals
    {
        public Integer blocked = null;
        public Integer unblocked = null;
        public Integer skipped = null;
        public Integer sections = null;
        public Integer failed = null;
        
        public Integer getBlocked() { return blocked; }
        public EventSeatingTableActionsTotals setBlocked(Integer value) { this.blocked = value; return this; }
        public Integer getUnblocked() { return unblocked; }
        public EventSeatingTableActionsTotals setUnblocked(Integer value) { this.unblocked = value; return this; }
        public Integer getSkipped() { return skipped; }
        public EventSeatingTableActionsTotals setSkipped(Integer value) { this.skipped = value; return this; }
        public Integer getSections() { return sections; }
        public EventSeatingTableActionsTotals setSections(Integer value) { this.sections = value; return this; }
        public Integer getFailed() { return failed; }
        public EventSeatingTableActionsTotals setFailed(Integer value) { this.failed = value; return this; }
    }

}

Java EventSeatingTableActionsRequest DTOs

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

HTTP + XML

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

POST /EventSeating/TableActions HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<EventSeatingTableActionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Action>String</Action>
  <BlockedNote>String</BlockedNote>
  <EventId>0</EventId>
  <Note>String</Note>
  <SectionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </SectionIds>
  <TablesOnly>false</TablesOnly>
</EventSeatingTableActionsRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EventSeatingTableActionsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
  <Action>String</Action>
  <ElapsedMs>0</ElapsedMs>
  <EventId>0</EventId>
  <Message>String</Message>
  <Results>
    <EventSeatingTableActionResult>
      <AlreadyBlockedSeatIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>0</d4p1:int>
      </AlreadyBlockedSeatIds>
      <BlockedSeatIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>0</d4p1:int>
      </BlockedSeatIds>
      <Error>String</Error>
      <IsHidden>false</IsHidden>
      <IsTable>false</IsTable>
      <Note>String</Note>
      <Ok>false</Ok>
      <SectionId>0</SectionId>
      <SectionName>String</SectionName>
      <ShowSeats>false</ShowSeats>
      <SkippedSeatIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>0</d4p1:int>
      </SkippedSeatIds>
      <UnblockedSeatIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>0</d4p1:int>
      </UnblockedSeatIds>
      <ViewType>String</ViewType>
    </EventSeatingTableActionResult>
  </Results>
  <StatusCode>0</StatusCode>
  <Totals>
    <Blocked>0</Blocked>
    <Failed>0</Failed>
    <Sections>0</Sections>
    <Skipped>0</Skipped>
    <Unblocked>0</Unblocked>
  </Totals>
</EventSeatingTableActionsResult>