TicketUserServices

<back to all web services

DonationPayoutOwnerHistoryRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:ReadData
The following routes are available for this service:
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 .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 /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"}