GET api/Member/{index}/{rows}/{field}/{order}?id={id}

Returns a member by their id or pcode.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id can be a id (e.g. 25) or a Pcode (e.g. ABR00003)

string

Required

index

string

None.

rows

string

None.

field

string

None.

order

string

None.

Body Parameters

None.

Response Information

Resource Description

Member
NameDescriptionTypeAdditional information
Role

string

None.

Status

string

None.

CommitteeId

integer

None.

StartDate

date

None.

EndDate

date

None.

Pcode

string

None.

MiddleName

string

None.

FormalTitle

string

None.

Biography

string

None.

DateOfBirth

date

None.

IsDeceased

boolean

None.

DateDeceased

date

None.

EgapId

integer

None.

Title

string

None.

FirstName

string

None.

LastName

string

None.

Honours

string

None.

Id

integer

None.

LastUpdatedTimestamp

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Role": "sample string 1",
  "Status": "sample string 2",
  "CommitteeId": 3,
  "StartDate": "2018-11-18T12:20:23.5397316+00:00",
  "EndDate": "2018-11-18T12:20:23.5397316+00:00",
  "Pcode": "sample string 6",
  "MiddleName": "sample string 7",
  "FormalTitle": "sample string 8",
  "Biography": "sample string 9",
  "DateOfBirth": "2018-11-18T12:20:23.5397316+00:00",
  "IsDeceased": true,
  "DateDeceased": "2018-11-18T12:20:23.5397316+00:00",
  "EgapId": 10,
  "Title": "sample string 11",
  "FirstName": "sample string 12",
  "LastName": "sample string 13",
  "Honours": "sample string 14",
  "Id": 15,
  "LastUpdatedTimestamp": "2018-11-18T12:20:23.5397316+00:00"
}

text/xml

Sample:
<Member xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">15</Id>
  <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2018-11-18T12:20:23.5397316+00:00</LastUpdatedTimestamp>
  <FirstName>sample string 12</FirstName>
  <Honours>sample string 14</Honours>
  <LastName>sample string 13</LastName>
  <Title>sample string 11</Title>
  <Biography>sample string 9</Biography>
  <DateDeceased>2018-11-18T12:20:23.5397316+00:00</DateDeceased>
  <DateOfBirth>2018-11-18T12:20:23.5397316+00:00</DateOfBirth>
  <EgapId>10</EgapId>
  <FormalTitle>sample string 8</FormalTitle>
  <IsDeceased>true</IsDeceased>
  <MiddleName>sample string 7</MiddleName>
  <Pcode>sample string 6</Pcode>
  <CommitteeId>3</CommitteeId>
  <EndDate>2018-11-18T12:20:23.5397316+00:00</EndDate>
  <Role>sample string 1</Role>
  <StartDate>2018-11-18T12:20:23.5397316+00:00</StartDate>
  <Status>sample string 2</Status>
</Member>