TicketUserServices

<back to all web services

EventOwnerOutstandingListRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdmin
The following routes are available for this service:
GET/eventowner/{EventOwnerId}/outstanding
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventOwnerOutstandingListRequest
    {
        public Integer eventOwnerId = null;
        public Boolean includeApplied = null;
        
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventOwnerOutstandingListRequest setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public Boolean isIncludeApplied() { return includeApplied; }
        public EventOwnerOutstandingListRequest setIncludeApplied(Boolean value) { this.includeApplied = value; return this; }
    }

    public static class EventOwnerOutstandingListResult
    {
        public Integer eventOwnerId = null;
        public Long unappliedBalance = null;
        public ArrayList<EventOwnerOutstanding> items = null;
        public Integer statusCode = null;
        public String message = null;
        
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventOwnerOutstandingListResult setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public Long getUnappliedBalance() { return unappliedBalance; }
        public EventOwnerOutstandingListResult setUnappliedBalance(Long value) { this.unappliedBalance = value; return this; }
        public ArrayList<EventOwnerOutstanding> getItems() { return items; }
        public EventOwnerOutstandingListResult setItems(ArrayList<EventOwnerOutstanding> value) { this.items = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventOwnerOutstandingListResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventOwnerOutstandingListResult setMessage(String value) { this.message = value; return this; }
    }

    public static class EventOwnerOutstanding
    {
        public Integer id = null;
        @References(EventOwner.class)
        public Integer eventOwnerId = null;

        public Long amount = null;
        public String reason = null;
        public Integer relatedEventId = null;
        public Integer relatedTicketId = null;
        @References(EventPayout.class)
        public Integer appliedToEventPayoutId = null;

        public Date createdAt = null;
        public Date appliedAt = null;
        
        public Integer getId() { return id; }
        public EventOwnerOutstanding setId(Integer value) { this.id = value; return this; }
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventOwnerOutstanding setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public Long getAmount() { return amount; }
        public EventOwnerOutstanding setAmount(Long value) { this.amount = value; return this; }
        public String getReason() { return reason; }
        public EventOwnerOutstanding setReason(String value) { this.reason = value; return this; }
        public Integer getRelatedEventId() { return relatedEventId; }
        public EventOwnerOutstanding setRelatedEventId(Integer value) { this.relatedEventId = value; return this; }
        public Integer getRelatedTicketId() { return relatedTicketId; }
        public EventOwnerOutstanding setRelatedTicketId(Integer value) { this.relatedTicketId = value; return this; }
        public Integer getAppliedToEventPayoutId() { return appliedToEventPayoutId; }
        public EventOwnerOutstanding setAppliedToEventPayoutId(Integer value) { this.appliedToEventPayoutId = value; return this; }
        public Date getCreatedAt() { return createdAt; }
        public EventOwnerOutstanding setCreatedAt(Date value) { this.createdAt = value; return this; }
        public Date getAppliedAt() { return appliedAt; }
        public EventOwnerOutstanding setAppliedAt(Date value) { this.appliedAt = value; return this; }
    }

}

Java EventOwnerOutstandingListRequest DTOs

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

HTTP + CSV

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

GET /eventowner/{EventOwnerId}/outstanding HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"eventOwnerId":0,"unappliedBalance":0,"items":[{"id":0,"eventOwnerId":0,"amount":0,"reason":"String","relatedEventId":0,"relatedTicketId":0,"appliedToEventPayoutId":0,"createdAt":"0001-01-01T00:00:00.0000000","appliedAt":"0001-01-01T00:00:00.0000000"}],"statusCode":0,"message":"String"}