POST api/DonorManagement/UpdateGiftFrequency

Request Information

URI Parameters

None.

Body Parameters

DonorGiftGridModel
NameDescriptionTypeAdditional information
GiftId

integer

Required

DateGivenString

string

None.

DateGiven

date

None.

AmountGiven

decimal number

None.

Frequency

integer

None.

GiftType

string

None.

TransactionType

integer

None.

PaymentType

string

None.

ResultCode

integer

None.

ResponseMsg

string

None.

Reversed

boolean

None.

ReferenceNumber

string

None.

TransactionDate

date

None.

CampaignName

string

None.

AliasNameForHospital

string

None.

CampaignId

integer

None.

CcOrCheck

string

None.

BatchId

integer

None.

DepositId

integer

None.

ProcessRefNo

string

None.

Source

string

None.

Request Formats

application/json, text/json

Sample:
{
  "giftId": 1,
  "dateGivenString": "sample string 2",
  "dateGiven": "2023-02-03T09:56:04.2370757+00:00",
  "amountGiven": 4.0,
  "frequency": 5,
  "giftType": "sample string 6",
  "transactionType": 7,
  "paymentType": "sample string 8",
  "resultCode": 1,
  "responseMsg": "sample string 9",
  "reversed": true,
  "referenceNumber": "sample string 11",
  "transactionDate": "2023-02-03T09:56:04.2370757+00:00",
  "campaignName": "sample string 13",
  "aliasNameForHospital": "sample string 14",
  "campaignId": 15,
  "ccOrCheck": "sample string 16",
  "batchId": 1,
  "depositId": 1,
  "processRefNo": "sample string 17",
  "source": "sample string 18"
}

application/xml, text/xml

Sample:
<DonorGiftGridModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <AliasNameForHospital>sample string 14</AliasNameForHospital>
  <AmountGiven>4</AmountGiven>
  <BatchId>1</BatchId>
  <CampaignId>15</CampaignId>
  <CampaignName>sample string 13</CampaignName>
  <CcOrCheck>sample string 16</CcOrCheck>
  <DateGiven>2023-02-03T09:56:04.2370757+00:00</DateGiven>
  <DateGivenString>sample string 2</DateGivenString>
  <DepositId>1</DepositId>
  <Frequency>5</Frequency>
  <GiftId>1</GiftId>
  <GiftType>sample string 6</GiftType>
  <PaymentType>sample string 8</PaymentType>
  <ProcessRefNo>sample string 17</ProcessRefNo>
  <ReferenceNumber>sample string 11</ReferenceNumber>
  <ResponseMsg>sample string 9</ResponseMsg>
  <ResultCode>1</ResultCode>
  <Reversed>true</Reversed>
  <Source>sample string 18</Source>
  <TransactionDate>2023-02-03T09:56:04.2370757+00:00</TransactionDate>
  <TransactionType>7</TransactionType>
</DonorGiftGridModel>

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.