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": "d587e863-8efe-4753-87c6-0c7439f58143",
"UserId": "7385963f-f411-427d-accd-73a4561388af",
"OrderId": "9bd3dba2-d55b-4fe4-b652-0dd31c8a1035",
"TransactionAmount": 3.0,
"TransactionDescription": "sample string 4",
"TransactionDateUtc": "2026-08-29T17:35:18.6361411+00:00",
"TransactionType": 0,
"BudgetId": "1f4fec90-fc2c-45b8-82ce-066460d71912",
"CreditId": "dcba980f-47b7-4dd0-8abb-0e4488d54189",
"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>1f4fec90-fc2c-45b8-82ce-066460d71912</BudgetId> <CreditId>dcba980f-47b7-4dd0-8abb-0e4488d54189</CreditId> <Id>d587e863-8efe-4753-87c6-0c7439f58143</Id> <OrderId>9bd3dba2-d55b-4fe4-b652-0dd31c8a1035</OrderId> <PaymentResponseId>1</PaymentResponseId> <TransactionAmount>3</TransactionAmount> <TransactionDateUtc>2026-08-29T17:35:18.6361411+00:00</TransactionDateUtc> <TransactionDescription>sample string 4</TransactionDescription> <TransactionType>Budget</TransactionType> <UserId>7385963f-f411-427d-accd-73a4561388af</UserId> </TransactionDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.