POST api/OpenDonorManagement/SaveFriendReferrals

Request Information

URI Parameters

None.

Body Parameters

DonorFriendReferrals
NameDescriptionTypeAdditional information
FriendReferrals

Collection of DonorFriendReferralModel

None.

Request Formats

application/json, text/json

Sample:
{
  "friendReferrals": [
    {
      "friendsId": 1,
      "donorId": 2,
      "campaignId": 3,
      "firstName": "sample string 4",
      "lastName": "sample string 5",
      "address1": "sample string 6",
      "address2": "sample string 7",
      "city": "sample string 8",
      "stateId": 1,
      "state": "sample string 9",
      "postalCode": "sample string 10",
      "telephone": "sample string 11",
      "email": "sample string 12",
      "companyName": "sample string 13",
      "campaignName": "sample string 14"
    },
    {
      "friendsId": 1,
      "donorId": 2,
      "campaignId": 3,
      "firstName": "sample string 4",
      "lastName": "sample string 5",
      "address1": "sample string 6",
      "address2": "sample string 7",
      "city": "sample string 8",
      "stateId": 1,
      "state": "sample string 9",
      "postalCode": "sample string 10",
      "telephone": "sample string 11",
      "email": "sample string 12",
      "companyName": "sample string 13",
      "campaignName": "sample string 14"
    }
  ]
}

application/xml, text/xml

Sample:
<DonorFriendReferrals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <FriendReferrals>
    <DonorFriendReferralModel>
      <Address1>sample string 6</Address1>
      <Address2>sample string 7</Address2>
      <CampaignId>3</CampaignId>
      <CampaignName>sample string 14</CampaignName>
      <City>sample string 8</City>
      <CompanyName>sample string 13</CompanyName>
      <DonorId>2</DonorId>
      <Email>sample string 12</Email>
      <FirstName>sample string 4</FirstName>
      <FriendsId>1</FriendsId>
      <LastName>sample string 5</LastName>
      <PostalCode>sample string 10</PostalCode>
      <State>sample string 9</State>
      <StateId>1</StateId>
      <Telephone>sample string 11</Telephone>
    </DonorFriendReferralModel>
    <DonorFriendReferralModel>
      <Address1>sample string 6</Address1>
      <Address2>sample string 7</Address2>
      <CampaignId>3</CampaignId>
      <CampaignName>sample string 14</CampaignName>
      <City>sample string 8</City>
      <CompanyName>sample string 13</CompanyName>
      <DonorId>2</DonorId>
      <Email>sample string 12</Email>
      <FirstName>sample string 4</FirstName>
      <FriendsId>1</FriendsId>
      <LastName>sample string 5</LastName>
      <PostalCode>sample string 10</PostalCode>
      <State>sample string 9</State>
      <StateId>1</StateId>
      <Telephone>sample string 11</Telephone>
    </DonorFriendReferralModel>
  </FriendReferrals>
</DonorFriendReferrals>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.