GET api/Country/{index}/{rows}?id={id}
Returns all countries that a fellow has by Id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id can be a FellowId (e.g. 25) or a Pcode (e.g. ABR00003) |
string |
Required |
index | string |
None. |
|
rows | string |
None. |
Body Parameters
None.
Response Information
Resource Description
BaseCollectionOfCountryName | Description | Type | Additional 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": "2024-04-20T08:30:08.8040282+01:00" }, { "Name": "sample string 1", "Ordinal": 1, "Id": 2, "LastUpdatedTimestamp": "2024-04-20T08:30:08.8040282+01: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>2024-04-20T08:30:08.8040282+01:00</LastUpdatedTimestamp> <Ordinal>1</Ordinal> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:Country> <d2p1:Country> <Id>2</Id> <LastUpdatedTimestamp>2024-04-20T08:30:08.8040282+01:00</LastUpdatedTimestamp> <Ordinal>1</Ordinal> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:Country> </Collection> <ContactId>1</ContactId> <Pcode>sample string 2</Pcode> </BaseCollectionOfCountryxMFpOuYO>