POST api/pledgeredemption/update

Request Information

URI Parameters

None.

Body Parameters

PledgeRedemption
NameDescriptionTypeAdditional information
PledgeRedemptionId

integer

None.

Code

string

None.

MembershipId

string

None.

PledgeId

integer

None.

ReferenceId

string

None.

PaymentType

string

None.

Amount

decimal number

None.

Balance

decimal number

None.

RedeemedOn

date

None.

Active

boolean

None.

Deleted

boolean

None.

CreatedBy

string

String length: inclusive between 0 and 50

UpdatedBy

string

String length: inclusive between 0 and 50

CreatedOn

date

None.

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PledgeRedemptionId": 1,
  "Code": "sample string 2",
  "MembershipId": "sample string 3",
  "PledgeId": 4,
  "ReferenceId": "sample string 5",
  "PaymentType": "sample string 6",
  "Amount": 7.0,
  "Balance": 8.0,
  "RedeemedOn": "2022-09-26T12:01:08.7246541-05:00",
  "Active": true,
  "Deleted": true,
  "CreatedBy": "sample string 12",
  "UpdatedBy": "sample string 13",
  "CreatedOn": "2022-09-26T12:01:08.7246541-05:00",
  "UpdatedOn": "2022-09-26T12:01:08.7246541-05:00"
}

text/xml

Sample:
<PledgeRedemption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGospel.Common.Membership">
  <Active>true</Active>
  <Amount>7</Amount>
  <Balance>8</Balance>
  <Code>sample string 2</Code>
  <CreatedBy>sample string 12</CreatedBy>
  <CreatedOn>2022-09-26T12:01:08.7246541-05:00</CreatedOn>
  <Deleted>true</Deleted>
  <MembershipId>sample string 3</MembershipId>
  <PaymentType>sample string 6</PaymentType>
  <PledgeId>4</PledgeId>
  <PledgeRedemptionId>1</PledgeRedemptionId>
  <RedeemedOn>2022-09-26T12:01:08.7246541-05:00</RedeemedOn>
  <ReferenceId>sample string 5</ReferenceId>
  <UpdatedBy>sample string 13</UpdatedBy>
  <UpdatedOn>2022-09-26T12:01:08.7246541-05:00</UpdatedOn>
</PledgeRedemption>

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 'PledgeRedemption'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.