GET api/Position/{id}

Returns all Fellow positions for a given Fellow

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

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

string

Required

Body Parameters

None.

Response Information

Resource Description

BaseCollectionOfPosition
NameDescriptionTypeAdditional information
Collection

Collection of Position

Required

ContactId

integer

Required

Pcode

string

Required

Response Formats

application/json, text/json

Sample:
{
  "Collection": [
    {
      "Name": "sample string 1",
      "CompanyId": 1,
      "Company": "sample string 2",
      "TopLevelId": 1,
      "TopLevelName": "sample string 3",
      "DisplayVisibility": "sample string 4",
      "IsMainOrganisation": true,
      "ContactId": 6,
      "Pcode": "sample string 7",
      "Ordinal": 1,
      "Id": 8,
      "LastUpdatedTimestamp": "2018-11-18T12:29:32.3470364+00:00"
    },
    {
      "Name": "sample string 1",
      "CompanyId": 1,
      "Company": "sample string 2",
      "TopLevelId": 1,
      "TopLevelName": "sample string 3",
      "DisplayVisibility": "sample string 4",
      "IsMainOrganisation": true,
      "ContactId": 6,
      "Pcode": "sample string 7",
      "Ordinal": 1,
      "Id": 8,
      "LastUpdatedTimestamp": "2018-11-18T12:29:32.3470364+00:00"
    }
  ],
  "ContactId": 1,
  "Pcode": "sample string 2"
}

text/xml

Sample:
<BaseCollectionOfPositionxMFpOuYO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">
  <Collection xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataLayer2.Models">
    <d2p1:Position>
      <Id>8</Id>
      <LastUpdatedTimestamp>2018-11-18T12:29:32.3470364+00:00</LastUpdatedTimestamp>
      <Ordinal>1</Ordinal>
      <ContactId>6</ContactId>
      <Pcode>sample string 7</Pcode>
      <d2p1:Company>sample string 2</d2p1:Company>
      <d2p1:CompanyId>1</d2p1:CompanyId>
      <d2p1:DisplayVisibility>sample string 4</d2p1:DisplayVisibility>
      <d2p1:IsMainOrganisation>true</d2p1:IsMainOrganisation>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:TopLevelId>1</d2p1:TopLevelId>
      <d2p1:TopLevelName>sample string 3</d2p1:TopLevelName>
    </d2p1:Position>
    <d2p1:Position>
      <Id>8</Id>
      <LastUpdatedTimestamp>2018-11-18T12:29:32.3470364+00:00</LastUpdatedTimestamp>
      <Ordinal>1</Ordinal>
      <ContactId>6</ContactId>
      <Pcode>sample string 7</Pcode>
      <d2p1:Company>sample string 2</d2p1:Company>
      <d2p1:CompanyId>1</d2p1:CompanyId>
      <d2p1:DisplayVisibility>sample string 4</d2p1:DisplayVisibility>
      <d2p1:IsMainOrganisation>true</d2p1:IsMainOrganisation>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:TopLevelId>1</d2p1:TopLevelId>
      <d2p1:TopLevelName>sample string 3</d2p1:TopLevelName>
    </d2p1:Position>
  </Collection>
  <ContactId>1</ContactId>
  <Pcode>sample string 2</Pcode>
</BaseCollectionOfPositionxMFpOuYO>