| Requires any of the roles: | Admin, TeamAdmin | Required permission: | ReadData |
| GET | /donations/payout/owner/{OwnerId} |
|---|
namespace TicketUserServices.ServiceModel
open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
[<AllowNullLiteral>]
type DonationPayoutRow() =
member val Id:Int32 = new Int32() with get,set
member val DonationId:Int32 = new Int32() with get,set
member val OwnerId:Int32 = new Int32() with get,set
member val OwnerCardId:Nullable<Int32> = new Nullable<Int32>() with get,set
member val PaymentMethodId:String = null with get,set
member val PaymentReference:String = null with get,set
member val Amount:Decimal = new Decimal() with get,set
member val TxnPercent:Decimal = new Decimal() with get,set
member val PayoutAmount:Decimal = new Decimal() with get,set
member val MarkPaidReference:String = null with get,set
member val Source:String = null with get,set
member val Note:String = null with get,set
member val CreatedUTC:DateTime = new DateTime() with get,set
member val CreatedBy:String = null with get,set
member val DonationPaidUTC:Nullable<DateTime> = new Nullable<DateTime>() with get,set
[<AllowNullLiteral>]
type DonationPayoutBatchResult() =
member val Rows:ResizeArray<DonationPayoutRow> = new ResizeArray<DonationPayoutRow>() with get,set
member val Count:Int32 = new Int32() with get,set
member val DonationAmount:Int64 = new Int64() with get,set
member val PayoutAmount:Decimal = new Decimal() with get,set
member val PayoutAmountIsk:Int64 = new Int64() with get,set
member val AlreadyPaidCount:Int32 = new Int32() with get,set
member val Replayed:Boolean = new Boolean() with get,set
member val MarkPaidReference:String = null with get,set
member val OwnerId:Nullable<Int32> = new Nullable<Int32>() with get,set
member val StatusCode:Int32 = new Int32() with get,set
member val Message:String = null with get,set
[<AllowNullLiteral>]
type DonationPayoutOwnerHistoryRequest() =
member val OwnerId:Int32 = new Int32() with get,set
member val From:Nullable<DateTime> = new Nullable<DateTime>() with get,set
member val To:Nullable<DateTime> = new Nullable<DateTime>() with get,set
F# DonationPayoutOwnerHistoryRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
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/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<DonationPayoutBatchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<AlreadyPaidCount>0</AlreadyPaidCount>
<Count>0</Count>
<DonationAmount>0</DonationAmount>
<MarkPaidReference>String</MarkPaidReference>
<Message>String</Message>
<OwnerId>0</OwnerId>
<PayoutAmount>0</PayoutAmount>
<PayoutAmountIsk>0</PayoutAmountIsk>
<Replayed>false</Replayed>
<Rows>
<DonationPayoutRow>
<Amount>0</Amount>
<CreatedBy>String</CreatedBy>
<CreatedUTC>0001-01-01T00:00:00</CreatedUTC>
<DonationId>0</DonationId>
<DonationPaidUTC>0001-01-01T00:00:00</DonationPaidUTC>
<Id>0</Id>
<MarkPaidReference>String</MarkPaidReference>
<Note>String</Note>
<OwnerCardId>0</OwnerCardId>
<OwnerId>0</OwnerId>
<PaymentMethodId>String</PaymentMethodId>
<PaymentReference>String</PaymentReference>
<PayoutAmount>0</PayoutAmount>
<Source>String</Source>
<TxnPercent>0</TxnPercent>
</DonationPayoutRow>
</Rows>
<StatusCode>0</StatusCode>
</DonationPayoutBatchResult>