GET DonateGoods/ValidateUniqueDonor

Request Information

URI Parameters

None.

Body Parameters

SimpleDonor
NameDescriptionTypeAdditional information
Territory_id

integer

None.

Arc_id

integer

None.

ZipCode

string

None.

Donor_id

integer

None.

FirstName

string

None.

LastName

string

None.

HomePhone

string

None.

HomeExtension

string

None.

DayPhone

string

None.

DayExtension

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

State

string

None.

CrossStreet

string

None.

OtherInfo

string

None.

Email

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

IsBusiness

boolean

None.

Geocode_id

integer

None.

GeocodeTime

date

None.

GeocodeTimeString

string

None.

GeocodeSource

integer

None.

MapInfo

string

None.

IsSpecial

integer

None.

NoServiceReminders

boolean

None.

NoSolicitation

boolean

None.

DoNotEmailSolicitation

boolean

None.

DoNotCallSolicitation

boolean

None.

DoNotTextSolicitation

boolean

None.

DoNotEmailServiceReminders

boolean

None.

DoNotCallServiceReminders

boolean

None.

DoNotTextServiceReminders

boolean

None.

GeocodeService

string

None.

GeocodeConfidence

string

None.

GeocodeAttempts

integer

None.

PrivacySettings

integer

None.

DonorGUID

string

None.

ForceNewDonor

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Territory_id": 1,
  "Arc_id": 2,
  "ZipCode": "sample string 3",
  "Donor_id": 4,
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "HomePhone": "sample string 7",
  "HomeExtension": "sample string 8",
  "DayPhone": "sample string 9",
  "DayExtension": "sample string 10",
  "AddressLine1": "sample string 11",
  "AddressLine2": "sample string 12",
  "City": "sample string 13",
  "State": "sample string 14",
  "CrossStreet": "sample string 15",
  "OtherInfo": "sample string 16",
  "Email": "sample string 17",
  "Latitude": 18.1,
  "Longitude": 19.1,
  "IsBusiness": true,
  "Geocode_id": 21,
  "GeocodeTime": "2024-11-23T21:10:45.3687121+00:00",
  "GeocodeTimeString": "11/23/2024 9:10:45 PM +00:00",
  "GeocodeSource": 23,
  "MapInfo": "sample string 24",
  "IsSpecial": 25,
  "NoServiceReminders": true,
  "NoSolicitation": true,
  "DoNotEmailSolicitation": true,
  "DoNotCallSolicitation": true,
  "DoNotTextSolicitation": true,
  "DoNotEmailServiceReminders": true,
  "DoNotCallServiceReminders": true,
  "DoNotTextServiceReminders": true,
  "GeocodeService": "sample string 34",
  "GeocodeConfidence": "sample string 35",
  "GeocodeAttempts": 36,
  "PrivacySettings": 1,
  "DonorGUID": "sample string 37",
  "ForceNewDonor": true
}

text/html

Sample:
{"Territory_id":1,"Arc_id":2,"ZipCode":"sample string 3","Donor_id":4,"FirstName":"sample string 5","LastName":"sample string 6","HomePhone":"sample string 7","HomeExtension":"sample string 8","DayPhone":"sample string 9","DayExtension":"sample string 10","AddressLine1":"sample string 11","AddressLine2":"sample string 12","City":"sample string 13","State":"sample string 14","CrossStreet":"sample string 15","OtherInfo":"sample string 16","Email":"sample string 17","Latitude":18.1,"Longitude":19.1,"IsBusiness":true,"Geocode_id":21,"GeocodeTime":"2024-11-23T21:10:45.3687121+00:00","GeocodeTimeString":"11/23/2024 9:10:45 PM +00:00","GeocodeSource":23,"MapInfo":"sample string 24","IsSpecial":25,"NoServiceReminders":true,"NoSolicitation":true,"DoNotEmailSolicitation":true,"DoNotCallSolicitation":true,"DoNotTextSolicitation":true,"DoNotEmailServiceReminders":true,"DoNotCallServiceReminders":true,"DoNotTextServiceReminders":true,"GeocodeService":"sample string 34","GeocodeConfidence":"sample string 35","GeocodeAttempts":36,"PrivacySettings":1,"DonorGUID":"sample string 37","ForceNewDonor":true}

application/xml, text/xml

Sample:
<SimpleDonor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiPickup.Models">
  <AddressLine1>sample string 11</AddressLine1>
  <AddressLine2>sample string 12</AddressLine2>
  <Arc_id>2</Arc_id>
  <City>sample string 13</City>
  <CrossStreet>sample string 15</CrossStreet>
  <DayExtension>sample string 10</DayExtension>
  <DayPhone>sample string 9</DayPhone>
  <DoNotCallServiceReminders>true</DoNotCallServiceReminders>
  <DoNotCallSolicitation>true</DoNotCallSolicitation>
  <DoNotEmailServiceReminders>true</DoNotEmailServiceReminders>
  <DoNotEmailSolicitation>true</DoNotEmailSolicitation>
  <DoNotTextServiceReminders>true</DoNotTextServiceReminders>
  <DoNotTextSolicitation>true</DoNotTextSolicitation>
  <DonorGUID>sample string 37</DonorGUID>
  <Donor_id>4</Donor_id>
  <Email>sample string 17</Email>
  <FirstName>sample string 5</FirstName>
  <ForceNewDonor>true</ForceNewDonor>
  <GeocodeAttempts>36</GeocodeAttempts>
  <GeocodeConfidence>sample string 35</GeocodeConfidence>
  <GeocodeService>sample string 34</GeocodeService>
  <GeocodeSource>23</GeocodeSource>
  <GeocodeTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-23T21:10:45.3687121Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </GeocodeTime>
  <Geocode_id>21</Geocode_id>
  <HomeExtension>sample string 8</HomeExtension>
  <HomePhone>sample string 7</HomePhone>
  <IsBusiness>true</IsBusiness>
  <IsSpecial>25</IsSpecial>
  <LastName>sample string 6</LastName>
  <Latitude>18.1</Latitude>
  <Longitude>19.1</Longitude>
  <MapInfo>sample string 24</MapInfo>
  <NoServiceReminders>true</NoServiceReminders>
  <NoSolicitation>true</NoSolicitation>
  <OtherInfo>sample string 16</OtherInfo>
  <PrivacySettings>1</PrivacySettings>
  <State>sample string 14</State>
  <Territory_id>1</Territory_id>
  <ZipCode>sample string 3</ZipCode>
</SimpleDonor>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SimpleDonor'.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Success

boolean

None.

RetVal

Object

None.

HasError

boolean

None.

ErrorMessage

string

None.

ErrorDetail

Exception

None.

Feedback

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "RetVal": {},
  "HasError": true,
  "ErrorMessage": "sample string 4",
  "ErrorDetail": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "Feedback": "sample string 5"
}

text/html

Sample:
{"Success":true,"RetVal":{},"HasError":true,"ErrorMessage":"sample string 4","ErrorDetail":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null},"Feedback":"sample string 5"}

application/xml, text/xml

Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiPickup.Models">
  <Feedback>sample string 5</Feedback>
  <ErrorDetail xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </ErrorDetail>
  <ErrorMessage>sample string 4</ErrorMessage>
  <HasError>true</HasError>
  <RetVal />
  <Success>true</Success>
</ApiResult>