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": "5dc0da85-612c-42de-b867-2472907fb3d4",
"UserId": "edb71641-5c24-4f83-bb85-ae4ad950db91",
"OrderId": "e6551e20-5c35-4d60-a752-1a6d242d99b9",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-01-21T09:40:40.5015054+00:00",
"TransactionType": 0,
"BudgetId": "84a518aa-c763-4d3a-ae1e-ea50fa72ce7a",
"CreditId": "83ccbd12-afee-48bf-984f-606724b36430",
"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>84a518aa-c763-4d3a-ae1e-ea50fa72ce7a</BudgetId> <CreditId>83ccbd12-afee-48bf-984f-606724b36430</CreditId> <Id>5dc0da85-612c-42de-b867-2472907fb3d4</Id> <OrderId>e6551e20-5c35-4d60-a752-1a6d242d99b9</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-01-21T09:40:40.5015054+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>edb71641-5c24-4f83-bb85-ae4ad950db91</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.