GET api/Country

Returns all the countries in Donor Strategy

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Country
NameDescriptionTypeAdditional 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-03-29T07:22:54.9582726+00:00"
  },
  {
    "Name": "sample string 1",
    "Ordinal": 1,
    "Id": 2,
    "LastUpdatedTimestamp": "2024-03-29T07:22:54.9582726+00: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-03-29T07:22:54.9582726+00: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-03-29T07:22:54.9582726+00:00</LastUpdatedTimestamp>
    <Ordinal xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">1</Ordinal>
    <Name>sample string 1</Name>
  </Country>
</ArrayOfCountry>