GET api/CommitteeMember/{index}/{rows}?id={id}

Returns a committee by name with fully populated members

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

the name of the committee

integer

Required

index

string

None.

rows

string

None.

Body Parameters

None.

Response Information

Resource Description

CommitteeMember
NameDescriptionTypeAdditional information
Members

Collection of Member

None.

Response Formats

application/json, text/json

Sample:
{
  "Members": [
    {
      "Role": "sample string 1",
      "Status": "sample string 2",
      "CommitteeId": 3,
      "StartDate": "2018-11-21T14:04:30.6987379+00:00",
      "EndDate": "2018-11-21T14:04:30.6987379+00:00",
      "Pcode": "sample string 6",
      "MiddleName": "sample string 7",
      "FormalTitle": "sample string 8",
      "Biography": "sample string 9",
      "DateOfBirth": "2018-11-21T14:04:30.6987379+00:00",
      "IsDeceased": true,
      "DateDeceased": "2018-11-21T14:04:30.6987379+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-21T14:04:30.6987379+00:00"
    },
    {
      "Role": "sample string 1",
      "Status": "sample string 2",
      "CommitteeId": 3,
      "StartDate": "2018-11-21T14:04:30.6987379+00:00",
      "EndDate": "2018-11-21T14:04:30.6987379+00:00",
      "Pcode": "sample string 6",
      "MiddleName": "sample string 7",
      "FormalTitle": "sample string 8",
      "Biography": "sample string 9",
      "DateOfBirth": "2018-11-21T14:04:30.6987379+00:00",
      "IsDeceased": true,
      "DateDeceased": "2018-11-21T14:04:30.6987379+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-21T14:04:30.6987379+00:00"
    }
  ]
}

text/xml

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