PUT api/Transactions/{id}
Updates a transaction.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the transaction to update. |
globally unique identifier |
Required |
Body Parameters
The transaction model to update with.
TransactionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| OrderId | globally unique identifier |
None. |
|
| TransactionAmount | decimal number |
None. |
|
| TransactionDescription | string |
None. |
|
| TransactionDateUtc | date |
None. |
|
| TransactionType | TransactionTypeDto |
None. |
|
| BudgetId | globally unique identifier |
None. |
|
| CreditId | globally unique identifier |
None. |
|
| PaymentResponseId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "ce49af28-71b7-4f6c-9424-b4696e930e80",
"UserId": "35a83b3c-40b1-4a8e-92a0-3feae676a179",
"OrderId": "a3227e5e-b71f-460b-9cce-ef0cbfd67dd1",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-07-04T13:58:12.2982703+00:00",
"TransactionType": 0,
"BudgetId": "4e73edf4-ccf6-4d08-a7aa-c63209dca91d",
"CreditId": "c6904207-6723-4be6-bf89-e48e32890b3f",
"PaymentResponseId": 1
}
application/xml, text/xml
Sample:
<TransactionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Pay.Models"> <BudgetId>4e73edf4-ccf6-4d08-a7aa-c63209dca91d</BudgetId> <CreditId>c6904207-6723-4be6-bf89-e48e32890b3f</CreditId> <Id>ce49af28-71b7-4f6c-9424-b4696e930e80</Id> <OrderId>a3227e5e-b71f-460b-9cce-ef0cbfd67dd1</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-07-04T13:58:12.2982703+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>35a83b3c-40b1-4a8e-92a0-3feae676a179</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.