GET Notification/FindDonor?PinCode={PinCode}&DateOfBirth={DateOfBirth}
Find Donor in Aversys by Pin and Date of Birth
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PinCode |
Donor's Pin Code |
string |
Required |
DateOfBirth |
Donor's Birthdate |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
DonorInfoName | Description | Type | Additional information |
---|---|---|---|
Id |
Donor Id in Aversys |
integer |
None. |
IsFound |
Is donor found in the Aversys? |
boolean |
None. |
DefaultPhoneNumber |
Phone number found in Aversys |
string |
None. |
First |
First name |
string |
None. |
Last |
Last Name |
string |
None. |
AllPhoneNumbers |
All phone numbers associated with Donor |
Collection of string |
None. |
MobileAuthMethod |
Auth Method for Mobile App |
string |
None. |
IsPasscodeSet |
Passcode is not '' |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "IsFound": true, "DefaultPhoneNumber": "sample string 2", "First": "sample string 3", "Last": "sample string 4", "AllPhoneNumbers": [ "sample string 1", "sample string 2" ], "MobileAuthMethod": "sample string 5", "IsPasscodeSet": true }
application/xml, text/xml
Sample:
<DonorInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avertest.Mobile.API.Models.Notification"> <AllPhoneNumbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </AllPhoneNumbers> <DefaultPhoneNumber>sample string 2</DefaultPhoneNumber> <First>sample string 3</First> <Id>1</Id> <IsFound>true</IsFound> <Last>sample string 4</Last> </DonorInfo>