| Requires any of the roles: | Admin, TeamAdmin | Required permission: | ReadData |
| GET | /donations/payout/owner/{OwnerId} |
|---|
import Foundation
import ServiceStack
public class DonationPayoutOwnerHistoryRequest : Codable
{
public var ownerId:Int?
public var from:Date?
public var to:Date?
required public init(){}
}
public class DonationPayoutBatchResult : Codable
{
public var rows:[DonationPayoutRow] = []
public var count:Int?
public var donationAmount:Int?
public var payoutAmount:Double?
public var payoutAmountIsk:Int?
public var alreadyPaidCount:Int?
public var replayed:Bool?
public var markPaidReference:String?
public var ownerId:Int?
public var statusCode:Int?
public var message:String?
required public init(){}
}
public class DonationPayoutRow : Codable
{
public var id:Int?
public var donationId:Int?
public var ownerId:Int?
public var ownerCardId:Int?
public var paymentMethodId:String?
public var paymentReference:String?
public var amount:Double?
public var txnPercent:Double?
public var payoutAmount:Double?
public var markPaidReference:String?
public var source:String?
public var note:String?
public var createdUTC:Date?
public var createdBy:String?
public var donationPaidUTC:Date?
required public init(){}
}
Swift DonationPayoutOwnerHistoryRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /donations/payout/owner/{OwnerId} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"rows":[{"id":0,"donationId":0,"ownerId":0,"ownerCardId":0,"paymentMethodId":"String","paymentReference":"String","amount":0,"txnPercent":0,"payoutAmount":0,"markPaidReference":"String","source":"String","note":"String","createdUTC":"0001-01-01T00:00:00.0000000","createdBy":"String","donationPaidUTC":"0001-01-01T00:00:00.0000000"}],"count":0,"donationAmount":0,"payoutAmount":0,"payoutAmountIsk":0,"alreadyPaidCount":0,"replayed":false,"markPaidReference":"String","ownerId":0,"statusCode":0,"message":"String"}