Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Changed http to https

...

PUT

/accounts/findbyemail

...

Returns a list of logins that the user's email address and password are associated with.

Request Verb

PUT

URL

 This can be multiple logins within the same site or within multiple sites if the user has logins in multiple locations.

Example

Info
iconfalse

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

Request Header

...

titleRequest Body
linenumberstrue

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

Code Block
{
    email:"<email address>John.Doe@example.com",
    password:"<password>password"
}

...

Return Data

HTMLcode
<script src="https://gist.github.com/ERMoore/028781c5b869fd084238.js"></script>[
    {
        "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"
    }
]