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": "775bf1f8-a118-47df-96c7-cf758bb373d4",
"UserId": "9161b6c2-dfaf-43a0-b469-7c4d0b744b32",
"OrderId": "e9a3101d-6268-4d09-b2a4-fa4161b1a261",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-08-28T13:49:19.493518+00:00",
"TransactionType": 0,
"BudgetId": "b24d93ce-f05a-46ee-9ae7-f439ff991f7b",
"CreditId": "cc973ee9-a340-4501-ae33-dcc0e45139f3",
"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>b24d93ce-f05a-46ee-9ae7-f439ff991f7b</BudgetId> <CreditId>cc973ee9-a340-4501-ae33-dcc0e45139f3</CreditId> <Id>775bf1f8-a118-47df-96c7-cf758bb373d4</Id> <OrderId>e9a3101d-6268-4d09-b2a4-fa4161b1a261</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-08-28T13:49:19.493518+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>9161b6c2-dfaf-43a0-b469-7c4d0b744b32</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.