GET v1/Users/{id}
Gets the specified User from the id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Lhp.EquipmentIntelligence.WebApi.Models.V1.UserModelName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
CustomerId | integer |
None. |
|
UserName | string |
None. |
|
EmailAddress | string |
None. |
|
NameFirst | string |
None. |
|
NameLast | string |
None. |
|
PhoneOffice | string |
None. |
|
PhoneMobile | string |
None. |
|
PreferredLocale | string |
None. |
|
PreferredTimeZone | string |
None. |
|
PreferredUnitSystem | integer |
None. |
|
PreferredDecimalPlaces | integer |
None. |
|
PreferredFirstDayOfWeek | integer |
None. |
|
Roles | string |
None. |
|
IsActive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserId": 1, "CustomerId": 2, "UserName": "sample string 3", "EmailAddress": "sample string 4", "NameFirst": "sample string 5", "NameLast": "sample string 6", "PhoneOffice": "sample string 7", "PhoneMobile": "sample string 8", "PreferredLocale": "sample string 9", "PreferredTimeZone": "sample string 10", "PreferredUnitSystem": 11, "PreferredDecimalPlaces": 12, "PreferredFirstDayOfWeek": 13, "Roles": "sample string 14", "IsActive": true }
application/xml, text/xml
Sample:
<UserModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <UserId>1</UserId> <CustomerId>2</CustomerId> <UserName>sample string 3</UserName> <EmailAddress>sample string 4</EmailAddress> <NameFirst>sample string 5</NameFirst> <NameLast>sample string 6</NameLast> <PhoneOffice>sample string 7</PhoneOffice> <PhoneMobile>sample string 8</PhoneMobile> <PreferredLocale>sample string 9</PreferredLocale> <PreferredTimeZone>sample string 10</PreferredTimeZone> <PreferredUnitSystem>11</PreferredUnitSystem> <PreferredDecimalPlaces>12</PreferredDecimalPlaces> <PreferredFirstDayOfWeek>13</PreferredFirstDayOfWeek> <Roles>sample string 14</Roles> <IsActive>true</IsActive> </UserModel>