POST api/OpenDonorManagement/GetSplitFormData

Request Information

URI Parameters

None.

Body Parameters

DonorAppealForSplitModel
NameDescriptionTypeAdditional information
DonorAppealId

integer

Required

ExternalProgramForms

Collection of ExternalProgramForm

None.

Request Formats

application/json, text/json

Sample:
{
  "donorAppealId": 1,
  "externalProgramForms": [
    {
      "sqlId": 1,
      "externalProgramSecondId": "sample string 2",
      "description": "sample string 3",
      "donationAmount": 4.0
    },
    {
      "sqlId": 1,
      "externalProgramSecondId": "sample string 2",
      "description": "sample string 3",
      "donationAmount": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<DonorAppealForSplitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <DonorAppealId>1</DonorAppealId>
  <ExternalProgramForms>
    <ExternalProgramForm>
      <Description>sample string 3</Description>
      <DonationAmount>4</DonationAmount>
      <ExternalProgramSecondId>sample string 2</ExternalProgramSecondId>
      <SqlId>1</SqlId>
    </ExternalProgramForm>
    <ExternalProgramForm>
      <Description>sample string 3</Description>
      <DonationAmount>4</DonationAmount>
      <ExternalProgramSecondId>sample string 2</ExternalProgramSecondId>
      <SqlId>1</SqlId>
    </ExternalProgramForm>
  </ExternalProgramForms>
</DonorAppealForSplitModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DonorAppealForSplitModel
NameDescriptionTypeAdditional information
DonorAppealId

integer

Required

ExternalProgramForms

Collection of ExternalProgramForm

None.

Response Formats

application/json, text/json

Sample:
{
  "donorAppealId": 1,
  "externalProgramForms": [
    {
      "sqlId": 1,
      "externalProgramSecondId": "sample string 2",
      "description": "sample string 3",
      "donationAmount": 4.0
    },
    {
      "sqlId": 1,
      "externalProgramSecondId": "sample string 2",
      "description": "sample string 3",
      "donationAmount": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<DonorAppealForSplitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <DonorAppealId>1</DonorAppealId>
  <ExternalProgramForms>
    <ExternalProgramForm>
      <Description>sample string 3</Description>
      <DonationAmount>4</DonationAmount>
      <ExternalProgramSecondId>sample string 2</ExternalProgramSecondId>
      <SqlId>1</SqlId>
    </ExternalProgramForm>
    <ExternalProgramForm>
      <Description>sample string 3</Description>
      <DonationAmount>4</DonationAmount>
      <ExternalProgramSecondId>sample string 2</ExternalProgramSecondId>
      <SqlId>1</SqlId>
    </ExternalProgramForm>
  </ExternalProgramForms>
</DonorAppealForSplitModel>