| Requires any of the roles: | Admin, TeamAdmin | Required permission: | Tickets.Add |
| POST | /donations/payout/mark |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OwnerId | body | int | No | |
| MarkPaidReference | body | string | No | |
| CutoffUTC | body | DateTime? | No | |
| TxnPercentByMethod | body | Dictionary<string, decimal> | No | |
| DefaultTxnPercent | body | decimal? | No | |
| CreatedBy | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Rows | form | List<DonationPayoutRow> | No | |
| Count | form | int | No | |
| DonationAmount | form | long | No | |
| PayoutAmount | form | decimal | No | |
| PayoutAmountIsk | form | long | No | |
| AlreadyPaidCount | form | int | No | |
| Replayed | form | bool | No | |
| MarkPaidReference | form | string | No | |
| OwnerId | form | int? | No | |
| StatusCode | form | int | No | |
| Message | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| DonationId | form | int | No | |
| OwnerId | form | int | No | |
| OwnerCardId | form | int? | No | |
| PaymentMethodId | form | string | No | |
| PaymentReference | form | string | No | |
| Amount | form | decimal | No | |
| TxnPercent | form | decimal | No | |
| PayoutAmount | form | decimal | No | |
| MarkPaidReference | form | string | No | |
| Source | form | string | No | |
| Note | form | string | No | |
| CreatedUTC | form | DateTime | No | |
| CreatedBy | form | string | No | |
| DonationPaidUTC | form | DateTime? | No |
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.
POST /donations/payout/mark HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ownerId: 0,
markPaidReference: String,
cutoffUTC: 0001-01-01,
txnPercentByMethod:
{
String: 0
},
defaultTxnPercent: 0,
createdBy: String
}
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
}