GET api/User/TryCreateUserAccount?userLogin={userLogin}&password={password}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userLogin | string |
Required |
|
| password | string |
Required |
Body Parameters
None.
Response Information
Resource Description
UserDatabaseAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| IsFound | boolean |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Login | string |
None. |
|
| ReportysUserIds | Collection of integer |
None. |
|
| Rank | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsFound": true,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Login": "sample string 4",
"ReportysUserIds": [
1,
2
],
"Rank": 5
}
application/xml, text/xml
Sample:
<UserDatabaseAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myReportysModels">
<FirstName>sample string 2</FirstName>
<IsFound>true</IsFound>
<LastName>sample string 3</LastName>
<Login>sample string 4</Login>
<Rank>5</Rank>
<ReportysUserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ReportysUserIds>
</UserDatabaseAccount>