POST api/DonorManagement/Search

Request Information

URI Parameters

None.

Body Parameters

DonorSearch
NameDescriptionTypeAdditional information
DonorId

integer

None.

ProspectId

integer

None.

FirstName

string

None.

LastName

string

None.

Address

string

None.

City

string

None.

Zip

string

None.

Telephone

string

None.

Email

string

None.

CompanyName

string

None.

LegacyId

string

None.

HospitalId

integer

None.

StateId

integer

None.

IncludeProspect

boolean

None.

SortBy

DonorSortBy

None.

SortOrder

SortOrderEnum

None.

Page

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "donorId": 1,
  "prospectId": 1,
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "address": "sample string 3",
  "city": "sample string 4",
  "zip": "sample string 5",
  "telephone": "sample string 6",
  "email": "sample string 7",
  "companyName": "sample string 8",
  "legacyId": "sample string 9",
  "hospitalId": 1,
  "stateId": 1,
  "includeProspect": true,
  "sortBy": 0,
  "sortOrder": 0,
  "page": 11,
  "pageSize": 12
}

application/xml, text/xml

Sample:
<DonorSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <Address>sample string 3</Address>
  <City>sample string 4</City>
  <CompanyName>sample string 8</CompanyName>
  <DonorId>1</DonorId>
  <Email>sample string 7</Email>
  <FirstName>sample string 1</FirstName>
  <HospitalId>1</HospitalId>
  <IncludeProspect>true</IncludeProspect>
  <LastName>sample string 2</LastName>
  <LegacyId>sample string 9</LegacyId>
  <Page>11</Page>
  <PageSize>12</PageSize>
  <ProspectId>1</ProspectId>
  <SortBy>FirstName</SortBy>
  <SortOrder>Ascending</SortOrder>
  <StateId>1</StateId>
  <Telephone>sample string 6</Telephone>
  <Zip>sample string 5</Zip>
</DonorSearch>

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.