GET v1/Countries?sort={sort}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sort

A comma delimited list of columns to sort by. Field are sorted in ascending order by default. To have a field sort in descending order, preface it with the minus (-) sign.

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of Country
NameDescriptionTypeAdditional information
id

integer

None.

country

string

None.

ISOCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "country": "sample string 2",
    "ISOCode": "sample string 3"
  },
  {
    "id": 1,
    "country": "sample string 2",
    "ISOCode": "sample string 3"
  }
]

text/html

Sample:
[{"id":1,"country":"sample string 2","ISOCode":"sample string 3"},{"id":1,"country":"sample string 2","ISOCode":"sample string 3"}]

application/xml, text/xml

Sample:
<ArrayOfv1_Countries_CountryEndpointController.Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_Countries_CountryEndpoint">
  <v1_Countries_CountryEndpointController.Country>
    <ISOCode>sample string 3</ISOCode>
    <country>sample string 2</country>
    <id>1</id>
  </v1_Countries_CountryEndpointController.Country>
  <v1_Countries_CountryEndpointController.Country>
    <ISOCode>sample string 3</ISOCode>
    <country>sample string 2</country>
    <id>1</id>
  </v1_Countries_CountryEndpointController.Country>
</ArrayOfv1_Countries_CountryEndpointController.Country>