POST api/meetingdetailpledge/update

Request Information

URI Parameters

None.

Body Parameters

MeetingDetailPledgeModel
NameDescriptionTypeAdditional information
Pledge

Pledge

None.

Pledges

Collection of Pledge

None.

MeetingDetailPledge

MeetingDetailPledge

None.

Request Formats

application/json, text/json

Sample:
{
  "Pledge": {
    "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-28T08:27:48.612119-05:00",
    "Active": true,
    "Deleted": true,
    "CreatedBy": "sample string 13",
    "UpdatedBy": "sample string 14",
    "CreatedOn": "2022-09-28T08:27:48.612119-05:00",
    "UpdatedOn": "2022-09-28T08:27:48.612119-05:00"
  },
  "Pledges": [
    {
      "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-28T08:27:48.612119-05:00",
      "Active": true,
      "Deleted": true,
      "CreatedBy": "sample string 13",
      "UpdatedBy": "sample string 14",
      "CreatedOn": "2022-09-28T08:27:48.612119-05:00",
      "UpdatedOn": "2022-09-28T08:27:48.612119-05:00"
    },
    {
      "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-28T08:27:48.612119-05:00",
      "Active": true,
      "Deleted": true,
      "CreatedBy": "sample string 13",
      "UpdatedBy": "sample string 14",
      "CreatedOn": "2022-09-28T08:27:48.612119-05:00",
      "UpdatedOn": "2022-09-28T08:27:48.612119-05:00"
    }
  ],
  "MeetingDetailPledge": {
    "MeetingDetailPledgeId": 1,
    "Code": "sample string 2",
    "MeetingId": 3,
    "PledgeId": 4,
    "Active": true,
    "Deleted": true,
    "CreatedBy": "sample string 7",
    "UpdatedBy": "sample string 8",
    "CreatedOn": "2022-09-28T08:27:48.612119-05:00",
    "UpdatedOn": "2022-09-28T08:27:48.612119-05:00"
  }
}

text/xml

Sample:
<MeetingDetailPledgeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FullGopel.DTO.Model.Meetings">
  <MeetingDetailPledge xmlns:d2p1="http://schemas.datacontract.org/2004/07/FullGospel.Common.Meetings">
    <d2p1:Active>true</d2p1:Active>
    <d2p1:Code>sample string 2</d2p1:Code>
    <d2p1:CreatedBy>sample string 7</d2p1:CreatedBy>
    <d2p1:CreatedOn>2022-09-28T08:27:48.612119-05:00</d2p1:CreatedOn>
    <d2p1:Deleted>true</d2p1:Deleted>
    <d2p1:MeetingDetailPledgeId>1</d2p1:MeetingDetailPledgeId>
    <d2p1:MeetingId>3</d2p1:MeetingId>
    <d2p1:PledgeId>4</d2p1:PledgeId>
    <d2p1:UpdatedBy>sample string 8</d2p1:UpdatedBy>
    <d2p1:UpdatedOn>2022-09-28T08:27:48.612119-05:00</d2p1:UpdatedOn>
  </MeetingDetailPledge>
  <Pledge xmlns:d2p1="http://schemas.datacontract.org/2004/07/FullGospel.Common.Membership">
    <d2p1:Active>true</d2p1:Active>
    <d2p1:Amount>7</d2p1:Amount>
    <d2p1:Balance>8</d2p1:Balance>
    <d2p1:Code>sample string 2</d2p1:Code>
    <d2p1:CreatedBy>sample string 13</d2p1:CreatedBy>
    <d2p1:CreatedOn>2022-09-28T08:27:48.612119-05:00</d2p1:CreatedOn>
    <d2p1:Deleted>true</d2p1:Deleted>
    <d2p1:FirstName>sample string 5</d2p1:FirstName>
    <d2p1:LastName>sample string 6</d2p1:LastName>
    <d2p1:MembershipId>sample string 3</d2p1:MembershipId>
    <d2p1:Phone>sample string 9</d2p1:Phone>
    <d2p1:PledgeId>1</d2p1:PledgeId>
    <d2p1:RedemptionDate>2022-09-28T08:27:48.612119-05:00</d2p1:RedemptionDate>
    <d2p1:Title>sample string 4</d2p1:Title>
    <d2p1:UpdatedBy>sample string 14</d2p1:UpdatedBy>
    <d2p1:UpdatedOn>2022-09-28T08:27:48.612119-05:00</d2p1:UpdatedOn>
  </Pledge>
  <Pledges xmlns:d2p1="http://schemas.datacontract.org/2004/07/FullGospel.Common.Membership">
    <d2p1:Pledge>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Amount>7</d2p1:Amount>
      <d2p1:Balance>8</d2p1:Balance>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:CreatedBy>sample string 13</d2p1:CreatedBy>
      <d2p1:CreatedOn>2022-09-28T08:27:48.612119-05:00</d2p1:CreatedOn>
      <d2p1:Deleted>true</d2p1:Deleted>
      <d2p1:FirstName>sample string 5</d2p1:FirstName>
      <d2p1:LastName>sample string 6</d2p1:LastName>
      <d2p1:MembershipId>sample string 3</d2p1:MembershipId>
      <d2p1:Phone>sample string 9</d2p1:Phone>
      <d2p1:PledgeId>1</d2p1:PledgeId>
      <d2p1:RedemptionDate>2022-09-28T08:27:48.612119-05:00</d2p1:RedemptionDate>
      <d2p1:Title>sample string 4</d2p1:Title>
      <d2p1:UpdatedBy>sample string 14</d2p1:UpdatedBy>
      <d2p1:UpdatedOn>2022-09-28T08:27:48.612119-05:00</d2p1:UpdatedOn>
    </d2p1:Pledge>
    <d2p1:Pledge>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Amount>7</d2p1:Amount>
      <d2p1:Balance>8</d2p1:Balance>
      <d2p1:Code>sample string 2</d2p1:Code>
      <d2p1:CreatedBy>sample string 13</d2p1:CreatedBy>
      <d2p1:CreatedOn>2022-09-28T08:27:48.612119-05:00</d2p1:CreatedOn>
      <d2p1:Deleted>true</d2p1:Deleted>
      <d2p1:FirstName>sample string 5</d2p1:FirstName>
      <d2p1:LastName>sample string 6</d2p1:LastName>
      <d2p1:MembershipId>sample string 3</d2p1:MembershipId>
      <d2p1:Phone>sample string 9</d2p1:Phone>
      <d2p1:PledgeId>1</d2p1:PledgeId>
      <d2p1:RedemptionDate>2022-09-28T08:27:48.612119-05:00</d2p1:RedemptionDate>
      <d2p1:Title>sample string 4</d2p1:Title>
      <d2p1:UpdatedBy>sample string 14</d2p1:UpdatedBy>
      <d2p1:UpdatedOn>2022-09-28T08:27:48.612119-05:00</d2p1:UpdatedOn>
    </d2p1:Pledge>
  </Pledges>
</MeetingDetailPledgeModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.