Api  >  Countries Service


Countries Service

Service URL /v2/countries

Service Endpoints


Description

The Countries endpoint is not a list of countries to be found in the world.  Rather, it is a list of countries in which OneClickdigital client libraries are domiciled.  The endpoint responds to a single HTTP action: GET.  The data returned is a list of countries, with OneClickdigital URL templates for individual library sites within the OneClickdigital portal, and the OneClickdigital API URL.

Get Countries

Endpoint URL /v2/countries/
Description
This endpoint is intended to return countries for which client libraries exist. It is not intended to return a complete list of the world's countries.
Http Messages
HTTP GET Request
GET /v1/countries HTTP/1.1
UserAgent: robobob
Host: api.rbdigital.partner
Content-Type: application/json
Fiddler Request
fiddler request

HTTP GET Response
[
  {
    "isoA2": "US",
    "isoNumber": "840",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "USA",
    "name": "USA"
  },
  {
    "isoA2": "AU",
    "isoNumber": "036",
    "region": "europe",
    "oneClickWeb": "http://{0}.rbdigitalglobal.com",
    "oneClickApi": "http://api.rbdigitalglobal.com",
    "isoA3": "AUS",
    "name": "Australia"
  },
  {
    "isoA2": "CA",
    "isoNumber": "124",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "CAN",
    "name": "Canada"
  },
  {
    "isoA2": "CN",
    "isoNumber": "156",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "CHN",
    "name": "China"
  },
  {
    "isoA2": "DK",
    "isoNumber": "208",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "DNK",
    "name": "Denmark"
  },
  {
    "isoA2": "EG",
    "isoNumber": "818",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "EGY",
    "name": "Egypt"
  },
  {
    "isoA2": "FI",
    "isoNumber": "246",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "FIN",
    "name": "Finland"
  },
  {
    "isoA2": "DE",
    "isoNumber": "276",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "DEU",
    "name": "Germany"
  },
  {
    "isoA2": "HK",
    "isoNumber": "344",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "HKG",
    "name": "Hong Kong"
  },
  {
    "isoA2": "IN",
    "isoNumber": "356",
    "region": "europe",
    "oneClickWeb": "http://{0}.rbdigitalglobal.com",
    "oneClickApi": "http://api.rbdigitalglobal.com",
    "isoA3": "IND",
    "name": "India"
  },
  {
    "isoA2": "IE",
    "isoNumber": "372",
    "region": "europe",
    "oneClickWeb": "http://{0}.rbdigitalglobal.com",
    "oneClickApi": "http://api.rbdigitalglobal.com",
    "isoA3": "IRL",
    "name": "Ireland"
  },
  {
    "isoA2": "IM",
    "isoNumber": "833",
    "region": "europe",
    "oneClickWeb": "http://{0}.rbdigitalglobal.com",
    "oneClickApi": "http://api.rbdigitalglobal.com",
    "isoA3": "IMN",
    "name": "Isle of Man"
  },
  {
    "isoA2": "KR",
    "isoNumber": "410",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "KOR",
    "name": "Korea, Republic Of"
  },
  {
    "isoA2": "MY",
    "isoNumber": "458",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "MYS",
    "name": "Malaysia"
  },
  {
    "isoA2": "MX",
    "isoNumber": "484",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "MEX",
    "name": "Mexico"
  },
  {
    "isoA2": "NZ",
    "isoNumber": "554",
    "region": "europe",
    "oneClickWeb": "http://{0}.rbdigitalglobal.com",
    "oneClickApi": "http://api.rbdigitalglobal.com",
    "isoA3": "NZL",
    "name": "New Zealand"
  },
  {
    "isoA2": "NO",
    "isoNumber": "578",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "NOR",
    "name": "Norway"
  },
  {
    "isoA2": "PK",
    "isoNumber": "586",
    "region": "europe",
    "oneClickWeb": "http://{0}.rbdigitalglobal.com",
    "oneClickApi": "http://api.rbdigitalglobal.com",
    "isoA3": "PAK",
    "name": "Pakistan"
  },
  {
    "isoA2": "QA",
    "isoNumber": "634",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "QAT",
    "name": "Qatar"
  },
  {
    "isoA2": "SA",
    "isoNumber": "682",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "SAU",
    "name": "Saudi Arabia"
  },
  {
    "isoA2": "SG",
    "isoNumber": "702",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "SGP",
    "name": "Singapore"
  },
  {
    "isoA2": "TR",
    "isoNumber": "792",
    "region": "north-america",
    "oneClickWeb": "http://{0}.rbdigital.com",
    "oneClickApi": "http://api.rbdigital.com",
    "isoA3": "TUR",
    "name": "Turkey"
  },
  {
    "isoA2": "GB",
    "isoNumber": "826",
    "region": "europe",
    "oneClickWeb": "http://{0}.rbdigitalglobal.com",
    "oneClickApi": "http://api.rbdigitalglobal.com",
    "isoA3": "GBR",
    "name": "United Kingdom"
  }
]
Response
json