| Requires any of the roles: | Admin, TeamAdmin | Required permission: | ReadData |
| GET | /donations/payout/{MarkPaidReference} |
|---|
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 DonationPayoutByReferenceRequest() =
member val MarkPaidReference:String = null with get,set
F# DonationPayoutByReferenceRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /donations/payout/{MarkPaidReference} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01,
createdBy: String,
donationPaidUTC: 0001-01-01
}
],
count: 0,
donationAmount: 0,
payoutAmount: 0,
payoutAmountIsk: 0,
alreadyPaidCount: 0,
replayed: False,
markPaidReference: String,
ownerId: 0,
statusCode: 0,
message: String
}