Help Center
Choose product document...
Veeam Availability Console 3.0
RESTful API Reference

Get Countries

You can get a representation of а collection of all countries.

Request

To get USA states, send the GET HTTPS request to the URL of the /misc/countries collection.

HTTP Request

GET https://<Availability-Console>:1281/v2/misc/countries

Request Headers

The request header must contain the authorization token for the current logon session.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 Success.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Response Body

In the response body, Veeam Availability Console returns a representation of the /misc/countries collection.

Example Get Countries

The following request returns all countries.

[

   {

       "id": 3,

       "code": "AF",

       "name": "Afghanistan"

   },

   {

       "id": 4,

       "code": "AL",

       "name": "Albania"

   },

   {

       "id": 5,

       "code": "DZ",

       "name": "Algeria"

   }

]

Veeam Large Logo

Deployment Guide

Guide for Service Providers

Guide for End Users

Guide for Resellers

Usage Scenarios for Service Providers

RESTful API Reference