TicketUserServices

<back to all web services

EventOwnerBankInfoUpsertRequest

Requires Authentication
Requires any of the roles:Admin, Admin
The following routes are available for this service:
PUT POST/payout/bankinfo/{ExternalId}
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EventOwnerBankInfoUpsertRequest
    {
        public String externalId = null;
        public String accountNumber = null;
        public String kennitala = null;
        public String gender = null;
        public String source = null;
        
        public String getExternalId() { return externalId; }
        public EventOwnerBankInfoUpsertRequest setExternalId(String value) { this.externalId = value; return this; }
        public String getAccountNumber() { return accountNumber; }
        public EventOwnerBankInfoUpsertRequest setAccountNumber(String value) { this.accountNumber = value; return this; }
        public String getKennitala() { return kennitala; }
        public EventOwnerBankInfoUpsertRequest setKennitala(String value) { this.kennitala = value; return this; }
        public String getGender() { return gender; }
        public EventOwnerBankInfoUpsertRequest setGender(String value) { this.gender = value; return this; }
        public String getSource() { return source; }
        public EventOwnerBankInfoUpsertRequest setSource(String value) { this.source = 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 EventOwnerBankInfoUpsertRequest 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 /payout/bankinfo/{ExternalId} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"externalId":"String","accountNumber":"String","kennitala":"String","gender":"String","source":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"},"items":[{"id":0,"eventOwnerId":0,"banki":"String","hofudbok":"String","reikningsnumer":"String","kennitala":"String","gender":"String","createdAt":"0001-01-01T00:00:00.0000000","updatedAt":"0001-01-01T00:00:00.0000000"}],"updated":false,"statusCode":0,"message":"String"}