GET Api/User/{userId}

Gets a specific user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

The ID of the user.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The specified user.

UserResponse
NameDescriptionTypeAdditional information
Id

integer

None.

FirstName

string

None.

LastName

string

None.

IsEnabled

boolean

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "IsEnabled": true,
  "UserName": "sample string 5"
}

application/xml, text/xml

Sample:
<UserResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eRecruiter.Api.Responses">
  <FirstName>sample string 2</FirstName>
  <Id>1</Id>
  <IsEnabled>true</IsEnabled>
  <LastName>sample string 3</LastName>
  <UserName>sample string 5</UserName>
</UserResponse>