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": "4c2b0894-f6f8-41bd-87c2-f15b2f694225",
"UserId": "0e0791f4-33d7-4a95-99ad-492bb99f238e",
"OrderId": "269e36fc-f2e2-40a1-957f-c83f28b1157b",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-10-23T12:46:16.6349093+00:00",
"TransactionType": 0,
"BudgetId": "5c7d1570-ed07-41af-ab90-6bf6c03027ff",
"CreditId": "fa18d8b4-678b-4f1c-9f36-d454261ad9ac",
"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>5c7d1570-ed07-41af-ab90-6bf6c03027ff</BudgetId> <CreditId>fa18d8b4-678b-4f1c-9f36-d454261ad9ac</CreditId> <Id>4c2b0894-f6f8-41bd-87c2-f15b2f694225</Id> <OrderId>269e36fc-f2e2-40a1-957f-c83f28b1157b</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-10-23T12:46:16.6349093+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>0e0791f4-33d7-4a95-99ad-492bb99f238e</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.