Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

PUT

/accounts/findbyemail

Returns a list of logins that the user's email address and password are associated with.  This can be multiple logins within the same site or within multiple sites if the user has logins in multiple locations.

Example

http://secure.accessacs.com/api_accessacs_mobile/v2/accounts/findbyemail

Required Permissions

The user must fall into one of the categories below:

  • System Administration

  • staff member with manage user rights

Request Header

Basic Authorization is used to determine security rights for the user credentials supplied using the following parameters.

username: "jadams"

password: "password231"

Request Body Data

{
    email:"John.Doe@example.com",
    password:"password"
}

Return Data

[
    {
        "FullName": "Administrator",
        "UserName": "admin",
        "SiteNumber": "143181",
        "SiteName": "ACS"
    },
    {
        "FullName": "Amy Durante",
        "UserName": "amydu",
        "SiteNumber": "143181",
        "SiteName": "ACS"
    },
    {
        "FullName": "Small Group Admin",
        "UserName": "sgadmin",
        "SiteNumber": "106217",
        "SiteName": "Community Church"
    },
    {
        "FullName": "David Thomas",
        "UserName": "DavidThomas",
        "SiteNumber": "106217",
        "SiteName": "Community Church"
    },
    {
        "FullName": "Donald Absher",
        "UserName": "donald",
        "SiteNumber": "106217",
        "SiteName": "Community Church"
    },
    {
        "FullName": "James Aaron",
        "UserName": "james",
        "SiteNumber": "106217",
        "SiteName": "Community Church"
    },
    {
        "FullName": "Neil Cannon",
        "UserName": "neilcannon",
        "SiteNumber": "106217",
        "SiteName": "Community Church"
    }
]