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 Foundation
import ServiceStack

public class EventOwnerBankInfoGetRequest : Codable
{
    public var externalId:String?

    required public init(){}
}

public class EventOwnerBankInfoResult : Codable
{
    public var eventOwnerId:Int?
    public var externalId:String?
    public var item:EventOwnerPaymentInfo?
    public var items:[EventOwnerPaymentInfo] = []
    public var updated:Bool?
    public var statusCode:Int?
    public var message:String?

    required public init(){}
}

public class EventOwnerPaymentInfo : Codable
{
    public var id:Int?
    // @References(typeof(EventOwner))
    public var eventOwnerId:Int?

    public var banki:String?
    public var hofudbok:String?
    public var reikningsnumer:String?
    public var kennitala:String?
    public var gender:String?
    public var createdAt:Date?
    public var updatedAt:Date?

    required public init(){}
}


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

GET /payout/bankinfo/{ExternalId} HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
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"}