GET api/{context}/pledge/GetByPartner/{text}

Retrieve all pledges for a particular partner by using their ID as the look-up value.

Request Information

ParameterDescriptionAdditional information
text

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "ID": "a8f38916-3bfd-4fb7-a41a-e7a1c694435a",
    "PartnerID": "sample string 1",
    "PledgeAmount": 1.0,
    "DatePledged": "2020-08-04T11:02:20.2030853-06:00",
    "AppealCode": "sample string 2",
    "StartDate": "2020-08-04T11:02:20.2030853-06:00",
    "DayToCharge": 1,
    "PledgeType": "sample string 3",
    "Frequency": "sample string 4",
    "Installments": 1,
    "PledgeProgramName": "sample string 5",
    "Active": true,
    "AutoPayment": true,
    "PaymentType": "sample string 8",
    "PaymentSubType": "sample string 9",
    "PaymentBank": "sample string 10",
    "PaymentNumber": "sample string 12",
    "PaymentExtraID": "sample string 13",
    "PaymentExpDate": "2020-08-04T11:02:20.2030853-06:00",
    "PaymentFirstName": "sample string 14",
    "PaymentMiddleName": "sample string 15",
    "PaymentLastName": "sample string 16",
    "PaymentAddress1": "sample string 17",
    "PaymentAddress2": "sample string 18",
    "PaymentCity": "sample string 19",
    "PaymentStateProvince": "sample string 20",
    "PaymentPostalCode": "sample string 21",
    "PaymentCountry": "sample string 22",
    "PaymentTokenID": "sample string 23",
    "PendingProfileUpdate": true
  },
  {
    "ID": "a8f38916-3bfd-4fb7-a41a-e7a1c694435a",
    "PartnerID": "sample string 1",
    "PledgeAmount": 1.0,
    "DatePledged": "2020-08-04T11:02:20.2030853-06:00",
    "AppealCode": "sample string 2",
    "StartDate": "2020-08-04T11:02:20.2030853-06:00",
    "DayToCharge": 1,
    "PledgeType": "sample string 3",
    "Frequency": "sample string 4",
    "Installments": 1,
    "PledgeProgramName": "sample string 5",
    "Active": true,
    "AutoPayment": true,
    "PaymentType": "sample string 8",
    "PaymentSubType": "sample string 9",
    "PaymentBank": "sample string 10",
    "PaymentNumber": "sample string 12",
    "PaymentExtraID": "sample string 13",
    "PaymentExpDate": "2020-08-04T11:02:20.2030853-06:00",
    "PaymentFirstName": "sample string 14",
    "PaymentMiddleName": "sample string 15",
    "PaymentLastName": "sample string 16",
    "PaymentAddress1": "sample string 17",
    "PaymentAddress2": "sample string 18",
    "PaymentCity": "sample string 19",
    "PaymentStateProvince": "sample string 20",
    "PaymentPostalCode": "sample string 21",
    "PaymentCountry": "sample string 22",
    "PaymentTokenID": "sample string 23",
    "PendingProfileUpdate": true
  },
  {
    "ID": "a8f38916-3bfd-4fb7-a41a-e7a1c694435a",
    "PartnerID": "sample string 1",
    "PledgeAmount": 1.0,
    "DatePledged": "2020-08-04T11:02:20.2030853-06:00",
    "AppealCode": "sample string 2",
    "StartDate": "2020-08-04T11:02:20.2030853-06:00",
    "DayToCharge": 1,
    "PledgeType": "sample string 3",
    "Frequency": "sample string 4",
    "Installments": 1,
    "PledgeProgramName": "sample string 5",
    "Active": true,
    "AutoPayment": true,
    "PaymentType": "sample string 8",
    "PaymentSubType": "sample string 9",
    "PaymentBank": "sample string 10",
    "PaymentNumber": "sample string 12",
    "PaymentExtraID": "sample string 13",
    "PaymentExpDate": "2020-08-04T11:02:20.2030853-06:00",
    "PaymentFirstName": "sample string 14",
    "PaymentMiddleName": "sample string 15",
    "PaymentLastName": "sample string 16",
    "PaymentAddress1": "sample string 17",
    "PaymentAddress2": "sample string 18",
    "PaymentCity": "sample string 19",
    "PaymentStateProvince": "sample string 20",
    "PaymentPostalCode": "sample string 21",
    "PaymentCountry": "sample string 22",
    "PaymentTokenID": "sample string 23",
    "PendingProfileUpdate": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPledgeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDS.Web.WebApi.Models">
  <PledgeModel>
    <Active>true</Active>
    <AppealCode>sample string 2</AppealCode>
    <AutoPayment>true</AutoPayment>
    <DatePledged>2020-08-04T11:02:20.2030853-06:00</DatePledged>
    <DayToCharge>1</DayToCharge>
    <Frequency>sample string 4</Frequency>
    <ID>a8f38916-3bfd-4fb7-a41a-e7a1c694435a</ID>
    <Installments>1</Installments>
    <PartnerID>sample string 1</PartnerID>
    <PaymentAddress1>sample string 17</PaymentAddress1>
    <PaymentAddress2>sample string 18</PaymentAddress2>
    <PaymentBank>sample string 10</PaymentBank>
    <PaymentCity>sample string 19</PaymentCity>
    <PaymentCountry>sample string 22</PaymentCountry>
    <PaymentExpDate>2020-08-04T11:02:20.2030853-06:00</PaymentExpDate>
    <PaymentExtraID>sample string 13</PaymentExtraID>
    <PaymentFirstName>sample string 14</PaymentFirstName>
    <PaymentLastName>sample string 16</PaymentLastName>
    <PaymentMiddleName>sample string 15</PaymentMiddleName>
    <PaymentNumber>sample string 12</PaymentNumber>
    <PaymentPostalCode>sample string 21</PaymentPostalCode>
    <PaymentStateProvince>sample string 20</PaymentStateProvince>
    <PaymentSubType>sample string 9</PaymentSubType>
    <PaymentTokenID>sample string 23</PaymentTokenID>
    <PaymentType>sample string 8</PaymentType>
    <PendingProfileUpdate>true</PendingProfileUpdate>
    <PledgeAmount>1</PledgeAmount>
    <PledgeProgramName>sample string 5</PledgeProgramName>
    <PledgeType>sample string 3</PledgeType>
    <StartDate>2020-08-04T11:02:20.2030853-06:00</StartDate>
    <UnmaskedPaymentNumber>sample string 12</UnmaskedPaymentNumber>
  </PledgeModel>
  <PledgeModel>
    <Active>true</Active>
    <AppealCode>sample string 2</AppealCode>
    <AutoPayment>true</AutoPayment>
    <DatePledged>2020-08-04T11:02:20.2030853-06:00</DatePledged>
    <DayToCharge>1</DayToCharge>
    <Frequency>sample string 4</Frequency>
    <ID>a8f38916-3bfd-4fb7-a41a-e7a1c694435a</ID>
    <Installments>1</Installments>
    <PartnerID>sample string 1</PartnerID>
    <PaymentAddress1>sample string 17</PaymentAddress1>
    <PaymentAddress2>sample string 18</PaymentAddress2>
    <PaymentBank>sample string 10</PaymentBank>
    <PaymentCity>sample string 19</PaymentCity>
    <PaymentCountry>sample string 22</PaymentCountry>
    <PaymentExpDate>2020-08-04T11:02:20.2030853-06:00</PaymentExpDate>
    <PaymentExtraID>sample string 13</PaymentExtraID>
    <PaymentFirstName>sample string 14</PaymentFirstName>
    <PaymentLastName>sample string 16</PaymentLastName>
    <PaymentMiddleName>sample string 15</PaymentMiddleName>
    <PaymentNumber>sample string 12</PaymentNumber>
    <PaymentPostalCode>sample string 21</PaymentPostalCode>
    <PaymentStateProvince>sample string 20</PaymentStateProvince>
    <PaymentSubType>sample string 9</PaymentSubType>
    <PaymentTokenID>sample string 23</PaymentTokenID>
    <PaymentType>sample string 8</PaymentType>
    <PendingProfileUpdate>true</PendingProfileUpdate>
    <PledgeAmount>1</PledgeAmount>
    <PledgeProgramName>sample string 5</PledgeProgramName>
    <PledgeType>sample string 3</PledgeType>
    <StartDate>2020-08-04T11:02:20.2030853-06:00</StartDate>
    <UnmaskedPaymentNumber>sample string 12</UnmaskedPaymentNumber>
  </PledgeModel>
  <PledgeModel>
    <Active>true</Active>
    <AppealCode>sample string 2</AppealCode>
    <AutoPayment>true</AutoPayment>
    <DatePledged>2020-08-04T11:02:20.2030853-06:00</DatePledged>
    <DayToCharge>1</DayToCharge>
    <Frequency>sample string 4</Frequency>
    <ID>a8f38916-3bfd-4fb7-a41a-e7a1c694435a</ID>
    <Installments>1</Installments>
    <PartnerID>sample string 1</PartnerID>
    <PaymentAddress1>sample string 17</PaymentAddress1>
    <PaymentAddress2>sample string 18</PaymentAddress2>
    <PaymentBank>sample string 10</PaymentBank>
    <PaymentCity>sample string 19</PaymentCity>
    <PaymentCountry>sample string 22</PaymentCountry>
    <PaymentExpDate>2020-08-04T11:02:20.2030853-06:00</PaymentExpDate>
    <PaymentExtraID>sample string 13</PaymentExtraID>
    <PaymentFirstName>sample string 14</PaymentFirstName>
    <PaymentLastName>sample string 16</PaymentLastName>
    <PaymentMiddleName>sample string 15</PaymentMiddleName>
    <PaymentNumber>sample string 12</PaymentNumber>
    <PaymentPostalCode>sample string 21</PaymentPostalCode>
    <PaymentStateProvince>sample string 20</PaymentStateProvince>
    <PaymentSubType>sample string 9</PaymentSubType>
    <PaymentTokenID>sample string 23</PaymentTokenID>
    <PaymentType>sample string 8</PaymentType>
    <PendingProfileUpdate>true</PendingProfileUpdate>
    <PledgeAmount>1</PledgeAmount>
    <PledgeProgramName>sample string 5</PledgeProgramName>
    <PledgeType>sample string 3</PledgeType>
    <StartDate>2020-08-04T11:02:20.2030853-06:00</StartDate>
    <UnmaskedPaymentNumber>sample string 12</UnmaskedPaymentNumber>
  </PledgeModel>
</ArrayOfPledgeModel>