POST api/User/Get1ByEmail?eMail={eMail}
Find one user by email
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
To represent the search conditions. For example, {"tjohnson@abcsoft.com"} |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Find one user by email
API_Data_TShortLoginInfoName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | TShortLoginInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "PersonID": 1, "LoginName": "sample string 2", "FullName": "sample string 3", "EmailAddress": "sample string 4", "LicenseType": 5, "Phone": "sample string 6", "IsActive": true, "IsAdministrator": true, "IsSampleUser": true } }
application/xml, text/xml
Sample:
<API_Data_TShortLoginInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.SystemManage"> <d2p1:EmailAddress>sample string 4</d2p1:EmailAddress> <d2p1:FullName>sample string 3</d2p1:FullName> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsAdministrator>true</d2p1:IsAdministrator> <d2p1:IsSampleUser>true</d2p1:IsSampleUser> <d2p1:LicenseType>5</d2p1:LicenseType> <d2p1:LoginName>sample string 2</d2p1:LoginName> <d2p1:PersonID>1</d2p1:PersonID> <d2p1:Phone>sample string 6</d2p1:Phone> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_TShortLoginInfo>