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

Returns all countries that a fellow has by Id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id can be a FellowId (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

BaseCollectionOfCountry
NameDescriptionTypeAdditional information
Collection

Collection of Country

Required

ContactId

integer

Required

Pcode

string

Required

Response Formats

application/json, text/json

Sample:
{
  "Collection": [
    {
      "Name": "sample string 1",
      "Ordinal": 1,
      "Id": 2,
      "LastUpdatedTimestamp": "2018-11-15T06:20:57.5373828+00:00"
    },
    {
      "Name": "sample string 1",
      "Ordinal": 1,
      "Id": 2,
      "LastUpdatedTimestamp": "2018-11-15T06:20:57.5373828+00:00"
    }
  ],
  "ContactId": 1,
  "Pcode": "sample string 2"
}

text/xml

Sample:
<BaseCollectionOfCountryxMFpOuYO 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:Country>
      <Id>2</Id>
      <LastUpdatedTimestamp>2018-11-15T06:20:57.5373828+00:00</LastUpdatedTimestamp>
      <Ordinal>1</Ordinal>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:Country>
    <d2p1:Country>
      <Id>2</Id>
      <LastUpdatedTimestamp>2018-11-15T06:20:57.5373828+00:00</LastUpdatedTimestamp>
      <Ordinal>1</Ordinal>
      <d2p1:Name>sample string 1</d2p1:Name>
    </d2p1:Country>
  </Collection>
  <ContactId>1</ContactId>
  <Pcode>sample string 2</Pcode>
</BaseCollectionOfCountryxMFpOuYO>