GET Member?username={username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

Body Parameters

None.

Response Information

Resource Description

MemberDto
NameDescriptionTypeAdditional information
Id

integer

None.

MemberInfoCompleted

boolean

None.

Email

string

String length: inclusive between 0 and 50

Locale

string

String length: inclusive between 0 and 10

LanguageChosen

string

String length: inclusive between 0 and 10

FirstName

string

Required

String length: inclusive between 0 and 50

LastName

string

Required

String length: inclusive between 0 and 50

CompanyName

string

Required

String length: inclusive between 0 and 50

CompanyCountry

integer

Required

Range: inclusive between 1 and 30

CompanyStreet

string

Required

CompanyHouseNumber

string

Required

String length: inclusive between 0 and 10

CompanyBox

string

String length: inclusive between 0 and 4

CompanyPostalCodePrefix

string

String length: inclusive between 0 and 5

CompanyPostalCode

string

Required

String length: inclusive between 0 and 10

CompanyCity

string

Required

String length: inclusive between 0 and 50

CompanyActivity

integer

Required

Range: inclusive between 1 and 30

CompanyNumberOfEmployees

integer

Required

Range: inclusive between 1 and 20

ResponsibilityFunction

integer

Required

Range: inclusive between 1 and 20

RoleInDecision

integer

Required

Range: inclusive between 1 and 20

ReceiveEmails

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "memberInfoCompleted": true,
  "email": "sample string 3",
  "locale": "sample string 4",
  "languageChosen": "sample string 5",
  "firstName": "sample string 6",
  "lastName": "sample string 7",
  "companyName": "sample string 8",
  "companyCountry": 9,
  "companyStreet": "sample string 10",
  "companyHouseNumber": "sample string 11",
  "companyBox": "sample string 12",
  "companyPostalCodePrefix": "sample string 13",
  "companyPostalCode": "sample string 14",
  "companyCity": "sample string 15",
  "companyActivity": 16,
  "companyNumberOfEmployees": 17,
  "responsibilityFunction": 18,
  "roleInDecision": 19,
  "receiveEmails": true
}

application/xml, text/xml

Sample:
<MemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Site">
  <CompanyActivity>16</CompanyActivity>
  <CompanyBox>sample string 12</CompanyBox>
  <CompanyCity>sample string 15</CompanyCity>
  <CompanyCountry>9</CompanyCountry>
  <CompanyHouseNumber>sample string 11</CompanyHouseNumber>
  <CompanyName>sample string 8</CompanyName>
  <CompanyNumberOfEmployees>17</CompanyNumberOfEmployees>
  <CompanyPostalCode>sample string 14</CompanyPostalCode>
  <CompanyPostalCodePrefix>sample string 13</CompanyPostalCodePrefix>
  <CompanyStreet>sample string 10</CompanyStreet>
  <Email>sample string 3</Email>
  <FirstName>sample string 6</FirstName>
  <Id>1</Id>
  <LanguageChosen>sample string 5</LanguageChosen>
  <LastName>sample string 7</LastName>
  <Locale>sample string 4</Locale>
  <MemberInfoCompleted>true</MemberInfoCompleted>
  <ReceiveEmails>true</ReceiveEmails>
  <ResponsibilityFunction>18</ResponsibilityFunction>
  <RoleInDecision>19</RoleInDecision>
</MemberDto>