GET api/User/UserDetailsView?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UserDetailsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserName | string |
Required Matching regular expression pattern: ([a-zA-Z0-9]).{0,50}$|[\u0621-\u064A].{0,50} String length: inclusive between 0 and 50 |
|
| FirstName | string |
Required Matching regular expression pattern: ([a-zA-Z\s]+)|(([\u0621-\u064A]\s*)+|[\u0621-\u064A]) |
|
| FirstNameOther | string |
Required Matching regular expression pattern: ([a-zA-Z\s]+)|(([\u0621-\u064A]\s*)+|[\u0621-\u064A]) String length: inclusive between 2 and 50 |
|
| LastName | string |
Required Matching regular expression pattern: ([a-zA-Z\s]+)|(([\u0621-\u064A]\s*)+|[\u0621-\u064A]) String length: inclusive between 2 and 50 |
|
| LastNameOther | string |
Required Matching regular expression pattern: ([a-zA-Z\s]+)|(([\u0621-\u064A]\s*)+|[\u0621-\u064A]) String length: inclusive between 2 and 50 |
|
| string |
Data type: EmailAddress Matching regular expression pattern: ^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$ String length: inclusive between 0 and 50 |
||
| IsActiveUser | boolean |
None. |
|
| IsActiveDirectoryUser | boolean |
None. |
|
| Phone | string |
Matching regular expression pattern: ^[0-9]*$ Min length: 10 String length: inclusive between 0 and 16 |
|
| Mobile | string |
Required Matching regular expression pattern: ^[0-9]*$ String length: inclusive between 0 and 50 |
|
| JobTitleId | globally unique identifier |
None. |
|
| JobTitleAr | string |
None. |
|
| JobTitleEn | string |
None. |
|
| Address | string |
String length: inclusive between 0 and 50 |
|
| LocationAr | string |
None. |
|
| LocationEn | string |
None. |
|
| LocationId | globally unique identifier |
None. |
Response Formats
application/json, text/json
{
"Id": 1,
"UserName": "sample string 2",
"FirstName": "sample string 3",
"FirstNameOther": "sample string 4",
"LastName": "sample string 5",
"LastNameOther": "sample string 6",
"Email": "sample string 7",
"IsActiveUser": true,
"IsActiveDirectoryUser": true,
"Phone": "sample string 10",
"Mobile": "sample string 11",
"JobTitleId": "2ece84bc-dc33-4ff7-be52-adeb52c9eee7",
"JobTitleAr": "sample string 12",
"JobTitleEn": "sample string 13",
"Address": "sample string 14",
"LocationAr": "sample string 15",
"LocationEn": "sample string 16",
"LocationId": "2cd3e7f5-b34c-42a7-9492-4eed96188f29"
}
application/xml, text/xml
<UserDetailsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Components.UserManagement.DTO"> <Address>sample string 14</Address> <Email>sample string 7</Email> <FirstName>sample string 3</FirstName> <FirstNameOther>sample string 4</FirstNameOther> <Id>1</Id> <IsActiveDirectoryUser>true</IsActiveDirectoryUser> <IsActiveUser>true</IsActiveUser> <JobTitleAr>sample string 12</JobTitleAr> <JobTitleEn>sample string 13</JobTitleEn> <JobTitleId>2ece84bc-dc33-4ff7-be52-adeb52c9eee7</JobTitleId> <LastName>sample string 5</LastName> <LastNameOther>sample string 6</LastNameOther> <LocationAr>sample string 15</LocationAr> <LocationEn>sample string 16</LocationEn> <LocationId>2cd3e7f5-b34c-42a7-9492-4eed96188f29</LocationId> <Mobile>sample string 11</Mobile> <Phone>sample string 10</Phone> <UserName>sample string 2</UserName> </UserDetailsDTO>