POST api/DonorManagement/SaveInHonorGiftNotification

Save the InHonor and the GifitNotification records

Request Information

URI Parameters

None.

Body Parameters

Includes both the InHonor and the GifitNotification records. If the user didn't enter one of them, send a null in its place

InHonorNotificationBindingModel
NameDescriptionTypeAdditional information
GiftNotificationModel

GiftNotificationBindingModel

None.

InHonorModel

InHonorBindingModel

None.

Request Formats

application/json, text/json

Sample:
{
  "giftNotificationModel": {
    "giftNotificationId": 1,
    "donorId": 2,
    "campaignId": 3,
    "notifyName": "sample string 4",
    "address1": "sample string 5",
    "address2": "sample string 6",
    "city": "sample string 7",
    "stateId": 1,
    "state": "sample string 8",
    "postalCode": "sample string 9",
    "campaignName": "sample string 10",
    "donorTransactionId": 1
  },
  "inHonorModel": {
    "inHonorId": 1,
    "donorId": 2,
    "campaignId": 3,
    "inHonorOf": true,
    "inHonorName": "sample string 5",
    "donorTransactionId": 1
  }
}

application/xml, text/xml

Sample:
<InHonorNotificationBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <GiftNotificationModel>
    <Address1>sample string 5</Address1>
    <Address2>sample string 6</Address2>
    <CampaignId>3</CampaignId>
    <CampaignName>sample string 10</CampaignName>
    <City>sample string 7</City>
    <DonorId>2</DonorId>
    <DonorTransactionId>1</DonorTransactionId>
    <GiftNotificationId>1</GiftNotificationId>
    <NotifyName>sample string 4</NotifyName>
    <PostalCode>sample string 9</PostalCode>
    <State>sample string 8</State>
    <StateId>1</StateId>
  </GiftNotificationModel>
  <InHonorModel>
    <CampaignId>3</CampaignId>
    <DonorId>2</DonorId>
    <DonorTransactionId>1</DonorTransactionId>
    <InHonorId>1</InHonorId>
    <InHonorName>sample string 5</InHonorName>
    <InHonorOf>true</InHonorOf>
  </InHonorModel>
</InHonorNotificationBindingModel>

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.