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": "cb0c5fef-eecf-4470-8852-3a127b24be46",
"UserId": "01d31213-ddde-4f91-b33d-98fe6c77e657",
"OrderId": "5c37399a-73e1-40f9-950c-39da94c3ef0f",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-03-16T13:54:20.3281465+00:00",
"TransactionType": 0,
"BudgetId": "7cfab91e-452b-4ed1-9cf9-9f548a32aa59",
"CreditId": "ccccc68a-4b73-4b9b-8358-e5b9bdd1f2f9",
"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>7cfab91e-452b-4ed1-9cf9-9f548a32aa59</BudgetId> <CreditId>ccccc68a-4b73-4b9b-8358-e5b9bdd1f2f9</CreditId> <Id>cb0c5fef-eecf-4470-8852-3a127b24be46</Id> <OrderId>5c37399a-73e1-40f9-950c-39da94c3ef0f</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-03-16T13:54:20.3281465+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>01d31213-ddde-4f91-b33d-98fe6c77e657</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.