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": "521497fd-de02-4440-8b75-2e13346555ae",
"UserId": "f8abb6c9-a196-4798-b53c-598957277969",
"OrderId": "71c67359-faa2-4211-a95b-39a8432e5c4b",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-07-04T14:05:41.5201001+00:00",
"TransactionType": 0,
"BudgetId": "dd3b4eaa-c559-4abb-b4b2-7623ab6819f3",
"CreditId": "7612938a-c236-4f00-994d-e3108739414e",
"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>dd3b4eaa-c559-4abb-b4b2-7623ab6819f3</BudgetId> <CreditId>7612938a-c236-4f00-994d-e3108739414e</CreditId> <Id>521497fd-de02-4440-8b75-2e13346555ae</Id> <OrderId>71c67359-faa2-4211-a95b-39a8432e5c4b</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-07-04T14:05:41.5201001+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>f8abb6c9-a196-4798-b53c-598957277969</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.