GET api/utlCountryCode

Get all values from the CountryCodes table

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

utlCountryCodeDb
NameDescriptionTypeAdditional information
CountryID

integer

None.

CountryCodeA3

string

Required

Max length: 3

CountryCodeA2

string

Required

Max length: 2

CountryName

string

Required

Max length: 50

CountryNumber

integer

Required

AutoHoldFlag

boolean

None.

FedExZone

string

Max length: 1

DHLZone

string

Max length: 2

RemoveZeroFromPostalCode

boolean

None.

CountryCodeToStateCode

boolean

None.

IsActive

boolean

None.

SortOrder

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "CountryID": 1,
  "CountryCodeA3": "sample string 2",
  "CountryCodeA2": "sample string 3",
  "CountryName": "sample string 4",
  "CountryNumber": 5,
  "AutoHoldFlag": true,
  "FedExZone": "sample string 7",
  "DHLZone": "sample string 8",
  "RemoveZeroFromPostalCode": true,
  "CountryCodeToStateCode": true,
  "IsActive": true,
  "SortOrder": 12,
  "CreatedBy": 13,
  "CreatedDate": "2025-12-06T23:36:56.5118968+00:00",
  "UpdatedBy": 15,
  "UpdatedDate": "2025-12-06T23:36:56.5118968+00:00"
}

application/xml, text/xml

Sample:
<utlCountryCodeDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <AutoHoldFlag>true</AutoHoldFlag>
  <CountryCodeA2>sample string 3</CountryCodeA2>
  <CountryCodeA3>sample string 2</CountryCodeA3>
  <CountryCodeToStateCode>true</CountryCodeToStateCode>
  <CountryID>1</CountryID>
  <CountryName>sample string 4</CountryName>
  <CountryNumber>5</CountryNumber>
  <CreatedBy>13</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:36:56.5118968Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <DHLZone>sample string 8</DHLZone>
  <FedExZone>sample string 7</FedExZone>
  <IsActive>true</IsActive>
  <RemoveZeroFromPostalCode>true</RemoveZeroFromPostalCode>
  <SortOrder>12</SortOrder>
  <UpdatedBy>15</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:36:56.5118968Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
</utlCountryCodeDb>