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": "c2f12c13-3d96-4edf-bb7e-b9039f00652d",
"UserId": "35fc6d98-137f-4985-915c-4396d36a43aa",
"OrderId": "d17892cb-af7d-4421-b280-57e16c5d87b4",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2025-12-11T08:27:57.4668002+00:00",
"TransactionType": 0,
"BudgetId": "bf19f212-bb61-473d-acb5-2bd599e6fa1a",
"CreditId": "f80d9040-a5ca-437e-9cca-b76b650fe197",
"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>bf19f212-bb61-473d-acb5-2bd599e6fa1a</BudgetId> <CreditId>f80d9040-a5ca-437e-9cca-b76b650fe197</CreditId> <Id>c2f12c13-3d96-4edf-bb7e-b9039f00652d</Id> <OrderId>d17892cb-af7d-4421-b280-57e16c5d87b4</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2025-12-11T08:27:57.4668002+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>35fc6d98-137f-4985-915c-4396d36a43aa</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.