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": "d4c49463-c28f-4649-a4ec-4e215bc161ef",
"UserId": "c67c5c33-8f56-4014-9587-c9a2ce4ebe93",
"OrderId": "e21627c1-a591-425f-a73f-3a03263ddb60",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-03-16T13:55:35.4825217+00:00",
"TransactionType": 0,
"BudgetId": "6b5d79f6-cb3f-495b-84ba-afaa35d9667b",
"CreditId": "7946840d-636a-4787-abaa-195531f79694",
"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>6b5d79f6-cb3f-495b-84ba-afaa35d9667b</BudgetId> <CreditId>7946840d-636a-4787-abaa-195531f79694</CreditId> <Id>d4c49463-c28f-4649-a4ec-4e215bc161ef</Id> <OrderId>e21627c1-a591-425f-a73f-3a03263ddb60</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-03-16T13:55:35.4825217+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>c67c5c33-8f56-4014-9587-c9a2ce4ebe93</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.