GET api/Account?email={email}

Get the user account for the given Email.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
email

Email Address associated with the user account.

string

Required

Body Parameters

None.

Response Information

Resource Description

AccountResponse
NameDescriptionTypeAdditional information
Account

User Account profile

UserAccount

None.

Success

Boolean value indicating if request was fulfilled

boolean

None.

ErrorMessage

List of any errors or problems that prevented request from being fulfilled.

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Account": {
    "UserAccountID": 54321,
    "Subscription": null,
    "VerifyToken": "e9c45477-6f3d-40b3-b278-b186691150a6",
    "EmailAddress": "john.doe@email.com",
    "LastName": "Doe",
    "FirstName": "John",
    "Alias": "Johnny",
    "Passport": null,
    "Gender": "M",
    "BirthDate": "1970-06-28",
    "Address1": "123 Main St.",
    "Address2": "Apt. 2-D",
    "City": "AnyTown",
    "State": "NY",
    "Country": "US",
    "PostalCode": "10001",
    "Phone_Home": null,
    "Phone_Office": null,
    "Phone_Mobile": "2125551212",
    "SMS_OptIn": null,
    "MailingList_OptIn": true
  },
  "Success": true,
  "ErrorMessage": []
}

application/xml, text/xml

Sample:
<AccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PBR.FanClub.WebAPI.Models">
  <ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <Success>true</Success>
  <Account>
    <Address1>123 Main St.</Address1>
    <Address2>Apt. 2-D</Address2>
    <Alias>Johnny</Alias>
    <BirthDate>1970-06-28</BirthDate>
    <City>AnyTown</City>
    <Country>US</Country>
    <EmailAddress>john.doe@email.com</EmailAddress>
    <FirstName>John</FirstName>
    <Gender>M</Gender>
    <LastName>Doe</LastName>
    <MailingList_OptIn>true</MailingList_OptIn>
    <Passport i:nil="true" />
    <Phone_Home i:nil="true" />
    <Phone_Mobile>2125551212</Phone_Mobile>
    <Phone_Office i:nil="true" />
    <PostalCode>10001</PostalCode>
    <SMS_OptIn i:nil="true" />
    <State>NY</State>
    <Subscription i:nil="true" />
    <UserAccountID>54321</UserAccountID>
    <VerifyToken>e9c45477-6f3d-40b3-b278-b186691150a6</VerifyToken>
  </Account>
</AccountResponse>