POST api/RefundHistories
Request Information
URI Parameters
None.
Body Parameters
RefundHistory| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| PurchaseDate | date |
None. |
|
| OwnerId | string |
None. |
|
| ClientId | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| TotalAmountPaid | decimal number |
None. |
|
| TransactionRef | string |
None. |
|
| TransactionId | integer |
None. |
|
| Success | boolean |
None. |
|
| DateCreated | date |
None. |
|
| EventId | integer |
None. |
|
| RefundDate | date |
None. |
|
| RefundedBy | string |
None. |
|
| NewTransactionId | integer |
None. |
|
| NewTransactionRef | string |
None. |
|
| AmountRefunded | decimal number |
None. |
|
| TaxiId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"PurchaseDate": "2025-12-12T08:41:22.2734474+02:00",
"OwnerId": "sample string 2",
"ClientId": "sample string 3",
"TotalAmount": 1.1,
"TotalAmountPaid": 1.1,
"TransactionRef": "sample string 4",
"TransactionId": 1,
"Success": true,
"DateCreated": "2025-12-12T08:41:22.2734474+02:00",
"EventId": 1,
"RefundDate": "2025-12-12T08:41:22.2734474+02:00",
"RefundedBy": "sample string 7",
"NewTransactionId": 1,
"NewTransactionRef": "sample string 8",
"AmountRefunded": 9.1,
"TaxiId": 1
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RefundHistory| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| PurchaseDate | date |
None. |
|
| OwnerId | string |
None. |
|
| ClientId | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| TotalAmountPaid | decimal number |
None. |
|
| TransactionRef | string |
None. |
|
| TransactionId | integer |
None. |
|
| Success | boolean |
None. |
|
| DateCreated | date |
None. |
|
| EventId | integer |
None. |
|
| RefundDate | date |
None. |
|
| RefundedBy | string |
None. |
|
| NewTransactionId | integer |
None. |
|
| NewTransactionRef | string |
None. |
|
| AmountRefunded | decimal number |
None. |
|
| TaxiId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"PurchaseDate": "2025-12-12T08:41:22.2734474+02:00",
"OwnerId": "sample string 2",
"ClientId": "sample string 3",
"TotalAmount": 1.1,
"TotalAmountPaid": 1.1,
"TransactionRef": "sample string 4",
"TransactionId": 1,
"Success": true,
"DateCreated": "2025-12-12T08:41:22.2734474+02:00",
"EventId": 1,
"RefundDate": "2025-12-12T08:41:22.2734474+02:00",
"RefundedBy": "sample string 7",
"NewTransactionId": 1,
"NewTransactionRef": "sample string 8",
"AmountRefunded": 9.1,
"TaxiId": 1
}