PUT api/Transactions/{id}

Updates a transaction.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the transaction to update.

globally unique identifier

Required

Body Parameters

The transaction model to update with.

TransactionDto
NameDescriptionTypeAdditional 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": "e6a2a879-85f5-4fb1-bde7-43c2adc852b0",
  "UserId": "43d36f3b-961a-46aa-a153-22905fb6afa4",
  "OrderId": "81206299-5e8a-4751-91dd-f334aa0f5bd0",
  "TransactionAmount": 3.0,
  "TransactionDescription": "sample string 4",
  "TransactionDateUtc": "2025-12-06T02:24:52.6180272+00:00",
  "TransactionType": 0,
  "BudgetId": "77114bc8-50bc-48ef-9fd7-88232e0b9acd",
  "CreditId": "620fa4d0-78d6-4ecc-892e-d5c81cc81b7d",
  "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>77114bc8-50bc-48ef-9fd7-88232e0b9acd</BudgetId>
  <CreditId>620fa4d0-78d6-4ecc-892e-d5c81cc81b7d</CreditId>
  <Id>e6a2a879-85f5-4fb1-bde7-43c2adc852b0</Id>
  <OrderId>81206299-5e8a-4751-91dd-f334aa0f5bd0</OrderId>
  <PaymentResponseId>1</PaymentResponseId>
  <TransactionAmount>3</TransactionAmount>
  <TransactionDateUtc>2025-12-06T02:24:52.6180272+00:00</TransactionDateUtc>
  <TransactionDescription>sample string 4</TransactionDescription>
  <TransactionType>Budget</TransactionType>
  <UserId>43d36f3b-961a-46aa-a153-22905fb6afa4</UserId>
</TransactionDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.