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": "84e2535c-e282-4d22-9a90-6a6701afbeb3",
"UserId": "dce6786b-f374-47ef-94ff-a2ad1263a0d0",
"OrderId": "b5d8b2ae-0eb3-4946-bcb6-9c609e68f0e9",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-01-21T09:51:23.9314377+00:00",
"TransactionType": 0,
"BudgetId": "8e389062-e399-4996-8108-13f5e8374325",
"CreditId": "cba4fb54-5839-4d85-9980-67c2205dc62d",
"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>8e389062-e399-4996-8108-13f5e8374325</BudgetId> <CreditId>cba4fb54-5839-4d85-9980-67c2205dc62d</CreditId> <Id>84e2535c-e282-4d22-9a90-6a6701afbeb3</Id> <OrderId>b5d8b2ae-0eb3-4946-bcb6-9c609e68f0e9</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-01-21T09:51:23.9314377+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>dce6786b-f374-47ef-94ff-a2ad1263a0d0</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.