GET Account/GetUserInfo?currentDate={currentDate}
Retreive User Info
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| currentDate | date |
Required |
Body Parameters
None.
Response Information
Resource Description
User Info
UserInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Role |
Can be Blank, Donor, Employee or Contact - Read Only |
string |
None. |
| ShouldChangePassword |
User should change password - Read Only |
boolean |
None. |
| First |
User First Name |
string |
None. |
| Last |
User Last Name |
string |
None. |
| Address1 |
Address Line 1 |
string |
None. |
| Address2 |
Address Line 2 |
string |
None. |
| Phone |
Phone |
string |
None. |
|
|
string |
None. |
|
| City |
City |
string |
None. |
| State |
State |
string |
None. |
| Zip |
Zip |
string |
None. |
| MileagePreference |
Mileage Preference |
integer |
None. |
| HasAnyOrderInProcess |
true if User has any Order that is Scheduled and have address and odomoter |
boolean |
None. |
| HasScheduledOrderForToday |
true if there is any Scheduled order for today |
boolean |
None. |
| CanAccessDonors |
Show or not show Patients menu |
boolean |
None. |
| Agency | string |
None. |
|
| MobileAuthMethod |
Auth Method for mobile App |
string |
None. |
| IsPasscodeSet |
Is Passcode set by user? |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Role": "sample string 1",
"ShouldChangePassword": true,
"First": "sample string 3",
"Last": "sample string 4",
"Address1": "sample string 5",
"Address2": "sample string 6",
"Phone": "sample string 7",
"Email": "sample string 8",
"City": "sample string 9",
"State": "sample string 10",
"Zip": "sample string 11",
"MileagePreference": 1,
"HasAnyOrderInProcess": true,
"HasScheduledOrderForToday": true,
"CanAccessDonors": true,
"Agency": "sample string 15",
"MobileAuthMethod": "sample string 16",
"IsPasscodeSet": true
}
application/xml, text/xml
Sample:
<UserInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avertest.Aversys.DataLayer.Offsite"> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <Agency>sample string 15</Agency> <City>sample string 9</City> <Email>sample string 8</Email> <First>sample string 3</First> <HasAnyOrderInProcess>true</HasAnyOrderInProcess> <HasScheduledOrderForToday>true</HasScheduledOrderForToday> <Last>sample string 4</Last> <MileagePreference>1</MileagePreference> <Phone>sample string 7</Phone> <Role>sample string 1</Role> <ShouldChangePassword>true</ShouldChangePassword> <State>sample string 10</State> <Zip>sample string 11</Zip> </UserInfo>
