GET api/Users?local_number={local_number}&election_id={election_id}&offset={offset}&limit={limit}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
local_number

string

None.

election_id

string

None.

offset

integer

Default value is 0

limit

integer

Default value is 25

Body Parameters

None.

Response Information

Resource Description

Collection of IdentityUserViewModel
NameDescriptionTypeAdditional information
uuid

string

None.

last_name

string

None.

first_name

string

None.

local_number

string

None.

role

string

None.

email

string

None.

phone_number

string

None.

username

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "uuid": "sample string 1",
    "last_name": "sample string 2",
    "first_name": "sample string 3",
    "local_number": "sample string 4",
    "role": "sample string 5",
    "email": "sample string 6",
    "phone_number": "sample string 7",
    "username": "sample string 8"
  },
  {
    "uuid": "sample string 1",
    "last_name": "sample string 2",
    "first_name": "sample string 3",
    "local_number": "sample string 4",
    "role": "sample string 5",
    "email": "sample string 6",
    "phone_number": "sample string 7",
    "username": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIdentityUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UniteHere.ElectionApp.ViewModels">
  <IdentityUserViewModel>
    <Email>sample string 6</Email>
    <FirstName>sample string 3</FirstName>
    <Id>sample string 1</Id>
    <LastName>sample string 2</LastName>
    <LocalNumber>sample string 4</LocalNumber>
    <PhoneNumber>sample string 7</PhoneNumber>
    <Role>sample string 5</Role>
    <UserName>sample string 8</UserName>
  </IdentityUserViewModel>
  <IdentityUserViewModel>
    <Email>sample string 6</Email>
    <FirstName>sample string 3</FirstName>
    <Id>sample string 1</Id>
    <LastName>sample string 2</LastName>
    <LocalNumber>sample string 4</LocalNumber>
    <PhoneNumber>sample string 7</PhoneNumber>
    <Role>sample string 5</Role>
    <UserName>sample string 8</UserName>
  </IdentityUserViewModel>
</ArrayOfIdentityUserViewModel>