POST api/DonorManagement/MergeSingleDonor

Request Information

URI Parameters

None.

Body Parameters

DonorMergeGrid
NameDescriptionTypeAdditional information
DonorMerges

Collection of DonorMerge

None.

Request Formats

application/json, text/json

Sample:
{
  "donorMerges": [
    {
      "keep": true,
      "merge": true,
      "donorId": 3,
      "firstName": "sample string 4",
      "lastName": "sample string 5",
      "companyName": "sample string 6",
      "city": "sample string 7",
      "address": "sample string 8"
    },
    {
      "keep": true,
      "merge": true,
      "donorId": 3,
      "firstName": "sample string 4",
      "lastName": "sample string 5",
      "companyName": "sample string 6",
      "city": "sample string 7",
      "address": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<DonorMergeGrid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <DonorMerges>
    <DonorMerge>
      <Address>sample string 8</Address>
      <City>sample string 7</City>
      <CompanyName>sample string 6</CompanyName>
      <DonorId>3</DonorId>
      <FirstName>sample string 4</FirstName>
      <Keep>true</Keep>
      <LastName>sample string 5</LastName>
      <Merge>true</Merge>
    </DonorMerge>
    <DonorMerge>
      <Address>sample string 8</Address>
      <City>sample string 7</City>
      <CompanyName>sample string 6</CompanyName>
      <DonorId>3</DonorId>
      <FirstName>sample string 4</FirstName>
      <Keep>true</Keep>
      <LastName>sample string 5</LastName>
      <Merge>true</Merge>
    </DonorMerge>
  </DonorMerges>
</DonorMergeGrid>

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.