curl --request GET \
--url https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings \
--header 'Authorization: <api-key>'import requests
url = "https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"if0": 123,
"if100": 123,
"if50": 123,
"if75": 123,
"if85": 123,
"if95": 123,
"mt0": 123,
"mt100": 123,
"mt50": 123,
"mt75": 123,
"mt85": 123,
"mt95": 123,
"nt0": 123,
"nt100": 123,
"nt50": 123,
"nt75": 123,
"nt85": 123,
"nt99": 123,
"repetition": 123,
"tm0": 123,
"tm100": 123,
"tm101": 123,
"tm50": 123,
"tm75": 123,
"tm85": 123,
"tm95": 123
}Get default discount settings
curl --request GET \
--url https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings \
--header 'Authorization: <api-key>'import requests
url = "https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v2/netRateSchemes/defaultSettings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"if0": 123,
"if100": 123,
"if50": 123,
"if75": 123,
"if85": 123,
"if95": 123,
"mt0": 123,
"mt100": 123,
"mt50": 123,
"mt75": 123,
"mt85": 123,
"mt95": 123,
"nt0": 123,
"nt100": 123,
"nt50": 123,
"nt75": 123,
"nt85": 123,
"nt99": 123,
"repetition": 123,
"tm0": 123,
"tm100": 123,
"tm101": 123,
"tm50": 123,
"tm75": 123,
"tm85": 123,
"tm95": 123
}Authorizations
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Response
successful operation
Net rate percentages per match category. Non-translatable (NT) rates are returned as zero when the organization edition does not include the non-translatables-in-analyses feature.
Net rate (%) for the no-match internal-fuzzy band
Net rate (%) for the 100% internal-fuzzy (cross-file) match band
Net rate (%) for the 50% internal-fuzzy match band
Net rate (%) for the 75% internal-fuzzy match band
Net rate (%) for the 85% internal-fuzzy match band
Net rate (%) for the 95% internal-fuzzy match band
Net rate (%) for the no-match machine-translation band
Net rate (%) for the 100% machine-translation match band
Net rate (%) for the 50% machine-translation match band
Net rate (%) for the 75% machine-translation match band
Net rate (%) for the 85% machine-translation match band
Net rate (%) for the 95% machine-translation match band
Net rate (%) for the no-match non-translatable band
Net rate (%) for the 100% non-translatable match band
Net rate (%) for the 50% non-translatable match band
Net rate (%) for the 75% non-translatable match band
Net rate (%) for the 85% non-translatable match band
Net rate (%) for the 99% non-translatable match band
Net rate (%) applied to repetitions
Net rate (%) for the no-match (new words) translation-memory band
Net rate (%) for the 100% translation-memory match band
Net rate (%) for the 101% (in-context) translation-memory match band
Net rate (%) for the 50% translation-memory match band
Net rate (%) for the 75% translation-memory match band
Net rate (%) for the 85% translation-memory match band
Net rate (%) for the 95% translation-memory match band
Was this page helpful?