This function will return the user information for the listed user entity. INPUTS==> USER ENTITY. RETURN==> user information (FIRST NAME, LAST NAME, USER ID, ...)
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Entity value for the user (database value) |
integer |
Required |
None.
GetUserResponse
GetUserResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | ResponseHeader |
None. |
|
| Body | GetUserResponseBody |
None. |
| Name | Description | Type | Additional information |
|---|---|---|---|
| Message |
Message |
string |
None. |
| StatusCode |
Status code |
ResponseStatus |
None. |
| Status |
Status |
string |
None. |
| ErrorId |
Error id |
string |
None. |
| Name | Description | Type | Additional information |
|---|---|---|---|
| User |
List of user records |
UserViewModel |
None. |
{
"Header": {
"Message": "",
"StatusCode": 0,
"Status": "Ok",
"ErrorId": null
},
"Body": {
"User": {
"AccessorId": 1,
"FirstName": "Ferry",
"MiddleName": "A",
"LastName": "Travis",
"EmployeeId": "122112",
"AccessorType": "USER",
"Pin": "1234",
"PinEncrypted": null,
"GroupId": "Group",
"Location": "Spare",
"PhoneNo": "885-9411",
"PagerNo": "887-2057",
"UserType": "Multiple",
"UserLevel": "U",
"Status": true,
"LocationId": "123456",
"BitActive": "Active Combo"
}
}
}
<GetUserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.User">
<Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses.User" xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
<d2p1:User xmlns:d3p1="http://schemas.datacontract.org/2004/07/SaG.API.Models">
<d3p1:AccessorId>1</d3p1:AccessorId>
<d3p1:AccessorType>USER</d3p1:AccessorType>
<d3p1:BitActive>Active Combo</d3p1:BitActive>
<d3p1:EmployeeId>122112</d3p1:EmployeeId>
<d3p1:FirstName>Ferry</d3p1:FirstName>
<d3p1:GroupId>Group</d3p1:GroupId>
<d3p1:LastName>Travis</d3p1:LastName>
<d3p1:Location>Spare</d3p1:Location>
<d3p1:LocationId>123456</d3p1:LocationId>
<d3p1:MiddleName>A</d3p1:MiddleName>
<d3p1:PagerNo>887-2057</d3p1:PagerNo>
<d3p1:PhoneNo>885-9411</d3p1:PhoneNo>
<d3p1:Pin>1234</d3p1:Pin>
<d3p1:PinEncrypted i:nil="true" />
<d3p1:Status>true</d3p1:Status>
<d3p1:UserLevel>U</d3p1:UserLevel>
<d3p1:UserType>Multiple</d3p1:UserType>
</d2p1:User>
</Body>
<Header xmlns="http://schemas.datacontract.org/2004/07/SaG.API.Models.Responses">
<ErrorId i:nil="true" />
<Message></Message>
<Status>Ok</Status>
<StatusCode>Ok</StatusCode>
</Header>
</GetUserResponse>