API Documentation

In-depth reference documentation for iQmetrix API's.

NAV

OVERVIEW

The languages API allows you to access the list of available languages

ENDPOINTS

Sandbox: https://languagesdemo.iqmetrix.net/v1
Production: https://languages.iqmetrix.net/v1

RESOURCES

Languages

[
    {
        "Id": "en - US",
        "Description": "English - US",
        "ShortDescription": "EN",
        "IsDefault": false
    }
]
Name Description
Id (String) Identifier
Description (String) Description
ShortDescription (String) Short description
IsDefault (Boolean) A flag to indicate whether the language is default

Language

{
    "Id": "en - US",
    "Description": "English - US",
    "ShortDescription": "EN",
    "IsDefault": false
}
Name Description
Id (String) Identifier
Description (String) Description
ShortDescription (String) Short description
IsDefault (Boolean) A flag to indicate whether the language is default

REQUESTS

GET all languages

Request

GET /Languages

Example Request

GET /Languages
Accept: application/json

curl -X GET "https://languagesdemo.iqmetrix.net/v1/Languages" -H "Accept: application/json"
static IRestResponse GettingAllLanguages()
{
    var client = new RestClient("https://languagesdemo.iqmetrix.net/v1/Languages");
    var request = new RestRequest(Method.GET);
     
    request.AddHeader("Accept", "application/json"); 

    

    return client.Execute(request);
}

import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;

public static CloseableHttpResponse GettingAllLanguages() throws IOException {
    CloseableHttpClient httpClient = HttpClients.createDefault();
    HttpGet request = new HttpGet("https://languagesdemo.iqmetrix.net/v1/Languages");
     
    request.addHeader("Accept", "application/json"); 
    
    return httpClient.execute(request);
}
require 'rest-client'



response = RestClient.get 'https://languagesdemo.iqmetrix.net/v1/Languages', {
     :'Accept' => 'application/json',
    } 

puts response

Response Parameters

Example Response

HTTP 200 Content-Type: application/json
[
    {
        "Id": "en - US",
        "Description": "English - US",
        "ShortDescription": "EN",
        "IsDefault": false
    }
]

Array[Languages]

Was this page helpful?