POST api/pledge/update

Request Information

URI Parameters

None.

Body Parameters

Pledge
NameDescriptionTypeAdditional information
PledgeId

integer

None.

Code

string

None.

MembershipId

string

None.

Title

string

None.

FirstName

string

None.

LastName

string

None.

Amount

decimal number

None.

Balance

decimal number

None.

Phone

string

None.

RedemptionDate

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:
{
  "PledgeId": 1,
  "Code": "sample string 2",
  "MembershipId": "sample string 3",
  "Title": "sample string 4",
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "Amount": 7.0,
  "Balance": 8.0,
  "Phone": "sample string 9",
  "RedemptionDate": "2022-09-26T10:35:03.8444234-05:00",
  "Active": true,
  "Deleted": true,
  "CreatedBy": "sample string 13",
  "UpdatedBy": "sample string 14",
  "CreatedOn": "2022-09-26T10:35:03.8444234-05:00",
  "UpdatedOn": "2022-09-26T10:35:03.8444234-05:00"
}

text/xml

Sample:
<Pledge 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 13</CreatedBy>
  <CreatedOn>2022-09-26T10:35:03.8444234-05:00</CreatedOn>
  <Deleted>true</Deleted>
  <FirstName>sample string 5</FirstName>
  <LastName>sample string 6</LastName>
  <MembershipId>sample string 3</MembershipId>
  <Phone>sample string 9</Phone>
  <PledgeId>1</PledgeId>
  <RedemptionDate>2022-09-26T10:35:03.8444234-05:00</RedemptionDate>
  <Title>sample string 4</Title>
  <UpdatedBy>sample string 14</UpdatedBy>
  <UpdatedOn>2022-09-26T10:35:03.8444234-05:00</UpdatedOn>
</Pledge>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.