POST api/User/Find
Find user
Request Information
URI Parameters
None.
Body Parameters
To represent the search conditions. For example, {"loginName":"terry-j","FName":"Terry","LName":"Johnson"}
Dictionary of string [key] and string [value]Request Formats
application/json, text/json
Sample:
{ "sample string 1": "sample string 2", "sample string 3": "sample string 4" }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringstring> <Key>sample string 1</Key> <Value>sample string 2</Value> </KeyValueOfstringstring> <KeyValueOfstringstring> <Key>sample string 3</Key> <Value>sample string 4</Value> </KeyValueOfstringstring> </ArrayOfKeyValueOfstringstring>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Find user
API_Data_ListOfTLoginInfoName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of TLoginInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "PersonID": 1, "LoginName": "sample string 2", "FName": "sample string 3", "LName": "sample string 4", "IsActive": true, "IsAdministrator": true, "Address": "sample string 7", "EmailAddress": "sample string 8", "MobilePhone": "sample string 9", "HomePhone": "sample string 10", "Phone": "sample string 11", "FaxNumber": "sample string 12", "ExtUserCode": "sample string 13", "FID": "sample string 14", "Password": "sample string 15" }, { "PersonID": 1, "LoginName": "sample string 2", "FName": "sample string 3", "LName": "sample string 4", "IsActive": true, "IsAdministrator": true, "Address": "sample string 7", "EmailAddress": "sample string 8", "MobilePhone": "sample string 9", "HomePhone": "sample string 10", "Phone": "sample string 11", "FaxNumber": "sample string 12", "ExtUserCode": "sample string 13", "FID": "sample string 14", "Password": "sample string 15" } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfTLoginInfo 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:TLoginInfo> <d2p1:Address>sample string 7</d2p1:Address> <d2p1:EmailAddress>sample string 8</d2p1:EmailAddress> <d2p1:ExtUserCode>sample string 13</d2p1:ExtUserCode> <d2p1:FID>sample string 14</d2p1:FID> <d2p1:FName>sample string 3</d2p1:FName> <d2p1:FaxNumber>sample string 12</d2p1:FaxNumber> <d2p1:HomePhone>sample string 10</d2p1:HomePhone> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsAdministrator>true</d2p1:IsAdministrator> <d2p1:LName>sample string 4</d2p1:LName> <d2p1:LoginName>sample string 2</d2p1:LoginName> <d2p1:MobilePhone>sample string 9</d2p1:MobilePhone> <d2p1:Password>sample string 15</d2p1:Password> <d2p1:PersonID>1</d2p1:PersonID> <d2p1:Phone>sample string 11</d2p1:Phone> </d2p1:TLoginInfo> <d2p1:TLoginInfo> <d2p1:Address>sample string 7</d2p1:Address> <d2p1:EmailAddress>sample string 8</d2p1:EmailAddress> <d2p1:ExtUserCode>sample string 13</d2p1:ExtUserCode> <d2p1:FID>sample string 14</d2p1:FID> <d2p1:FName>sample string 3</d2p1:FName> <d2p1:FaxNumber>sample string 12</d2p1:FaxNumber> <d2p1:HomePhone>sample string 10</d2p1:HomePhone> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsAdministrator>true</d2p1:IsAdministrator> <d2p1:LName>sample string 4</d2p1:LName> <d2p1:LoginName>sample string 2</d2p1:LoginName> <d2p1:MobilePhone>sample string 9</d2p1:MobilePhone> <d2p1:Password>sample string 15</d2p1:Password> <d2p1:PersonID>1</d2p1:PersonID> <d2p1:Phone>sample string 11</d2p1:Phone> </d2p1:TLoginInfo> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfTLoginInfo>