GET api/countries/all

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CountryDTO
NameDescriptionTypeAdditional information
CountryID

integer

None.

ISO

string

None.

NiceName

string

None.

CountryNameEnglish

string

None.

CountryNameArabic

string

None.

ISO3

string

None.

NumCode

integer

None.

CountryCode

integer

None.

IsDeleted

boolean

None.

CreationDate

date

None.

ModifiedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryID": 1,
    "ISO": "sample string 2",
    "NiceName": "sample string 3",
    "CountryNameEnglish": "sample string 4",
    "CountryNameArabic": "sample string 5",
    "ISO3": "sample string 6",
    "NumCode": 1,
    "CountryCode": 7,
    "IsDeleted": true,
    "CreationDate": "2025-10-27T18:25:17.5539513-04:00",
    "ModifiedDate": "2025-10-27T18:25:17.5539513-04:00"
  },
  {
    "CountryID": 1,
    "ISO": "sample string 2",
    "NiceName": "sample string 3",
    "CountryNameEnglish": "sample string 4",
    "CountryNameArabic": "sample string 5",
    "ISO3": "sample string 6",
    "NumCode": 1,
    "CountryCode": 7,
    "IsDeleted": true,
    "CreationDate": "2025-10-27T18:25:17.5539513-04:00",
    "ModifiedDate": "2025-10-27T18:25:17.5539513-04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCountryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
  <CountryDTO>
    <CountryCode>7</CountryCode>
    <CountryID>1</CountryID>
    <CountryNameArabic>sample string 5</CountryNameArabic>
    <CountryNameEnglish>sample string 4</CountryNameEnglish>
    <CreationDate>2025-10-27T18:25:17.5539513-04:00</CreationDate>
    <ISO>sample string 2</ISO>
    <ISO3>sample string 6</ISO3>
    <IsDeleted>true</IsDeleted>
    <ModifiedDate>2025-10-27T18:25:17.5539513-04:00</ModifiedDate>
    <NiceName>sample string 3</NiceName>
    <NumCode>1</NumCode>
  </CountryDTO>
  <CountryDTO>
    <CountryCode>7</CountryCode>
    <CountryID>1</CountryID>
    <CountryNameArabic>sample string 5</CountryNameArabic>
    <CountryNameEnglish>sample string 4</CountryNameEnglish>
    <CreationDate>2025-10-27T18:25:17.5539513-04:00</CreationDate>
    <ISO>sample string 2</ISO>
    <ISO3>sample string 6</ISO3>
    <IsDeleted>true</IsDeleted>
    <ModifiedDate>2025-10-27T18:25:17.5539513-04:00</ModifiedDate>
    <NiceName>sample string 3</NiceName>
    <NumCode>1</NumCode>
  </CountryDTO>
</ArrayOfCountryDTO>