TicketUserServices

<back to all web services

EventOwnerBankInfoGetRequest

Requires Authentication
Requires the role:Admin
The following routes are available for this service:
GET/payout/bankinfo/{ExternalId}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventOwnerBankInfoGetRequest
    {
        public String externalId = null;
        
        public String getExternalId() { return externalId; }
        public EventOwnerBankInfoGetRequest setExternalId(String value) { this.externalId = value; return this; }
    }

    public static class EventOwnerBankInfoResult
    {
        public Integer eventOwnerId = null;
        public String externalId = null;
        public EventOwnerPaymentInfo item = null;
        public ArrayList<EventOwnerPaymentInfo> items = null;
        public Boolean updated = null;
        public Integer statusCode = null;
        public String message = null;
        
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventOwnerBankInfoResult setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public String getExternalId() { return externalId; }
        public EventOwnerBankInfoResult setExternalId(String value) { this.externalId = value; return this; }
        public EventOwnerPaymentInfo getItem() { return item; }
        public EventOwnerBankInfoResult setItem(EventOwnerPaymentInfo value) { this.item = value; return this; }
        public ArrayList<EventOwnerPaymentInfo> getItems() { return items; }
        public EventOwnerBankInfoResult setItems(ArrayList<EventOwnerPaymentInfo> value) { this.items = value; return this; }
        public Boolean isUpdated() { return updated; }
        public EventOwnerBankInfoResult setUpdated(Boolean value) { this.updated = value; return this; }
        public Integer getStatusCode() { return statusCode; }
        public EventOwnerBankInfoResult setStatusCode(Integer value) { this.statusCode = value; return this; }
        public String getMessage() { return message; }
        public EventOwnerBankInfoResult setMessage(String value) { this.message = value; return this; }
    }

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

        public String banki = null;
        public String hofudbok = null;
        public String reikningsnumer = null;
        public String kennitala = null;
        public String gender = null;
        public Date createdAt = null;
        public Date updatedAt = null;
        
        public Integer getId() { return id; }
        public EventOwnerPaymentInfo setId(Integer value) { this.id = value; return this; }
        public Integer getEventOwnerId() { return eventOwnerId; }
        public EventOwnerPaymentInfo setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
        public String getBanki() { return banki; }
        public EventOwnerPaymentInfo setBanki(String value) { this.banki = value; return this; }
        public String getHofudbok() { return hofudbok; }
        public EventOwnerPaymentInfo setHofudbok(String value) { this.hofudbok = value; return this; }
        public String getReikningsnumer() { return reikningsnumer; }
        public EventOwnerPaymentInfo setReikningsnumer(String value) { this.reikningsnumer = value; return this; }
        public String getKennitala() { return kennitala; }
        public EventOwnerPaymentInfo setKennitala(String value) { this.kennitala = value; return this; }
        public String getGender() { return gender; }
        public EventOwnerPaymentInfo setGender(String value) { this.gender = value; return this; }
        public Date getCreatedAt() { return createdAt; }
        public EventOwnerPaymentInfo setCreatedAt(Date value) { this.createdAt = value; return this; }
        public Date getUpdatedAt() { return updatedAt; }
        public EventOwnerPaymentInfo setUpdatedAt(Date value) { this.updatedAt = value; return this; }
    }

}

Java EventOwnerBankInfoGetRequest 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.

GET /payout/bankinfo/{ExternalId} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	eventOwnerId: 0,
	externalId: String,
	item: 
	{
		id: 0,
		eventOwnerId: 0,
		banki: String,
		hofudbok: String,
		reikningsnumer: String,
		kennitala: String,
		gender: String,
		createdAt: 0001-01-01,
		updatedAt: 0001-01-01
	},
	items: 
	[
		{
			id: 0,
			eventOwnerId: 0,
			banki: String,
			hofudbok: String,
			reikningsnumer: String,
			kennitala: String,
			gender: String,
			createdAt: 0001-01-01,
			updatedAt: 0001-01-01
		}
	],
	updated: False,
	statusCode: 0,
	message: String
}