GET api/countries
Gives you a list of available countries
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of countries
Collection of CountryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
Country ID |
integer |
None. |
| Name |
Country name |
string |
None. |
| Code |
Country code (phone number prefix) |
string |
None. |
| Iso |
Country ISO3166 1 Alpha 2 code |
string |
None. |
| EU |
Whether the country is a part of EU VAT system |
boolean |
None. |
| Billable |
Whether the country is aproved for billing |
boolean |
None. |
| Price |
Price for sending SMS to the country (in EUR) |
decimal number |
None. |
| PriceSek |
Price for sending SMS to the country (in SEK) |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"Iso": "sample string 4",
"EU": true,
"Billable": true,
"Price": 1.0,
"PriceSek": 1.0
},
{
"ID": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"Iso": "sample string 4",
"EU": true,
"Billable": true,
"Price": 1.0,
"PriceSek": 1.0
}
]