GET userservice/useraccount/{id}

User data

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Json

UserViewModel
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

Required

String length: inclusive between 0 and 50

Password

string

Required

Data type: Password

String length: inclusive between 6 and 25

ConfirmPassword

string

Data type: Password

FirstName

string

String length: inclusive between 0 and 50

LastName

string

String length: inclusive between 0 and 50

Name

string

None.

RoleId

integer

None.

RoleName

string

None.

PhoneNumber

string

String length: inclusive between 0 and 50

EmailId

string

Required

Data type: EmailAddress

CreatedBy

integer

None.

CreatedOn

string

None.

ModifiedBy

integer

None.

ModifiedOn

string

None.

Status

boolean

None.

StatusName

string

None.

DeleteFlag

integer

None.

Success

boolean

None.

Error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "Password": "sample string 3",
  "ConfirmPassword": "sample string 4",
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "Name": "sample string 7",
  "RoleId": 8,
  "RoleName": "sample string 9",
  "PhoneNumber": "sample string 10",
  "EmailId": "sample string 11",
  "CreatedBy": 12,
  "CreatedOn": "sample string 13",
  "ModifiedBy": 14,
  "ModifiedOn": "sample string 15",
  "Status": true,
  "StatusName": "sample string 17",
  "DeleteFlag": 18,
  "Success": true,
  "Error": "sample string 20"
}

application/xml, text/xml

Sample:
<UserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Data.Model">
  <Error>sample string 20</Error>
  <Success>true</Success>
  <CreatedBy>12</CreatedBy>
  <CreatedOn>sample string 13</CreatedOn>
  <DeleteFlag>18</DeleteFlag>
  <ModifiedBy>14</ModifiedBy>
  <ModifiedOn>sample string 15</ModifiedOn>
  <Status>true</Status>
  <StatusName>sample string 17</StatusName>
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <EmailId>sample string 11</EmailId>
  <FirstName>sample string 5</FirstName>
  <LastName>sample string 6</LastName>
  <Name>sample string 7</Name>
  <Password>sample string 3</Password>
  <PhoneNumber>sample string 10</PhoneNumber>
  <RoleId>8</RoleId>
  <RoleName>sample string 9</RoleName>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
</UserViewModel>