POST api/transactions/update

Request Information

URI Parameters

None.

Body Parameters

Transaction
NameDescriptionTypeAdditional information
Id

integer

None.

MembershipId

string

None.

EventId

integer

None.

TransactionReference

string

None.

Email

string

None.

Purpose

string

None.

Amount

decimal number

None.

ActualAmount

decimal number

None.

Timestamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MembershipId": "sample string 2",
  "EventId": 3,
  "TransactionReference": "sample string 4",
  "Email": "sample string 5",
  "Purpose": "sample string 6",
  "Amount": 7.0,
  "ActualAmount": 8.0,
  "Timestamp": "2022-09-26T12:05:51.6803013-05:00"
}

text/xml

Sample:
<Transaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Financial">
  <ActualAmount>8</ActualAmount>
  <Amount>7</Amount>
  <Email>sample string 5</Email>
  <EventId>3</EventId>
  <Id>1</Id>
  <MembershipId>sample string 2</MembershipId>
  <Purpose>sample string 6</Purpose>
  <Timestamp>2022-09-26T12:05:51.6803013-05:00</Timestamp>
  <TransactionReference>sample string 4</TransactionReference>
</Transaction>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Transaction'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.