GET userservice/useraccountlist

This method supplies list of users registered as Json output

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Json data

UserListViewModel
NameDescriptionTypeAdditional information
UserList

Collection of UserViewModel

None.

RoleList

Collection of UserRoleViewModel

None.

Success

boolean

None.

Error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserList": [
    {
      "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"
    },
    {
      "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"
    }
  ],
  "RoleList": [
    {
      "RoleId": 1,
      "RoleName": "sample string 2",
      "Success": true,
      "Error": "sample string 4"
    },
    {
      "RoleId": 1,
      "RoleName": "sample string 2",
      "Success": true,
      "Error": "sample string 4"
    }
  ],
  "Success": true,
  "Error": "sample string 2"
}

application/xml, text/xml

Sample:
<UserListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Data.Model">
  <Error>sample string 2</Error>
  <Success>true</Success>
  <RoleList>
    <UserRoleViewModel>
      <Error>sample string 4</Error>
      <Success>true</Success>
      <RoleId>1</RoleId>
      <RoleName>sample string 2</RoleName>
    </UserRoleViewModel>
    <UserRoleViewModel>
      <Error>sample string 4</Error>
      <Success>true</Success>
      <RoleId>1</RoleId>
      <RoleName>sample string 2</RoleName>
    </UserRoleViewModel>
  </RoleList>
  <UserList>
    <UserViewModel>
      <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>
    <UserViewModel>
      <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>
  </UserList>
</UserListViewModel>