TicketUserServices

<back to all web services

EventOwnerOutstandingCreateRequest

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
POST/eventowner/{EventOwnerId}/outstanding
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventOwnerOutstandingCreateRequest
    {
        public Integer eventOwnerId = null;
        public Long amount = null;
        public String reason = null;
        public Integer relatedEventId = null;
        public Integer relatedTicketId = null;
        
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventOwnerOutstandingCreateRequest setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public Long getAmount() { return amount; }
        public EventOwnerOutstandingCreateRequest setAmount(Long value) { this.amount = value; return this; }
        public String getReason() { return reason; }
        public EventOwnerOutstandingCreateRequest setReason(String value) { this.reason = value; return this; }
        public Integer getRelatedEventId() { return relatedEventId; }
        public EventOwnerOutstandingCreateRequest setRelatedEventId(Integer value) { this.relatedEventId = value; return this; }
        public Integer getRelatedTicketId() { return relatedTicketId; }
        public EventOwnerOutstandingCreateRequest setRelatedTicketId(Integer value) { this.relatedTicketId = value; return this; }
    }

    public static class EventOwnerOutstandingResult
    {
        public EventOwnerOutstanding item = null;
        public Integer statusCode = null;
        public String message = null;
        
        public EventOwnerOutstanding getItem() { return item; }
        public EventOwnerOutstandingResult setItem(EventOwnerOutstanding value) { this.item = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventOwnerOutstandingResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventOwnerOutstandingResult 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 EventOwnerOutstandingCreateRequest 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

HTTP + JSON

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

POST /eventowner/{EventOwnerId}/outstanding HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"eventOwnerId":0,"amount":0,"reason":"String","relatedEventId":0,"relatedTicketId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"item":{"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"}