GET api/Country/{index}/{rows}
Returns all the countries in Donor Strategy
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
index | string |
None. |
|
rows | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CountryName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Ordinal | integer |
None. |
|
Id | integer |
None. |
|
LastUpdatedTimestamp | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Ordinal": 1, "Id": 2, "LastUpdatedTimestamp": "2024-04-19T12:24:56.5575431+01:00" }, { "Name": "sample string 1", "Ordinal": 1, "Id": 2, "LastUpdatedTimestamp": "2024-04-19T12:24:56.5575431+01:00" } ]
text/xml
Sample:
<ArrayOfCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models"> <Country> <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2</Id> <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2024-04-19T12:24:56.5575431+01:00</LastUpdatedTimestamp> <Ordinal xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">1</Ordinal> <Name>sample string 1</Name> </Country> <Country> <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2</Id> <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2024-04-19T12:24:56.5575431+01:00</LastUpdatedTimestamp> <Ordinal xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">1</Ordinal> <Name>sample string 1</Name> </Country> </ArrayOfCountry>