curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/lqa/profiles \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"errorCategories": {
"accuracy": {
"accuracy": {
"code": 123,
"enabled": true,
"weight": 1
},
"addition": {
"code": 123,
"enabled": true,
"weight": 1
},
"improperTmMatch": {
"code": 123,
"enabled": true,
"weight": 1
},
"mistranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"omission": {
"code": 123,
"enabled": true,
"weight": 1
},
"overTranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"underTranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"untranslated": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"design": {
"design": {
"code": 123,
"enabled": true,
"weight": 1
},
"length": {
"code": 123,
"enabled": true,
"weight": 1
},
"localFormatting": {
"code": 123,
"enabled": true,
"weight": 1
},
"markup": {
"code": 123,
"enabled": true,
"weight": 1
},
"missingText": {
"code": 123,
"enabled": true,
"weight": 1
},
"truncation": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"fluency": {
"characterEncoding": {
"code": 123,
"enabled": true,
"weight": 1
},
"crossReference": {
"code": 123,
"enabled": true,
"weight": 1
},
"fluency": {
"code": 123,
"enabled": true,
"weight": 1
},
"grammar": {
"code": 123,
"enabled": true,
"weight": 1
},
"grammaticalRegister": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistency": {
"code": 123,
"enabled": true,
"weight": 1
},
"punctuation": {
"code": 123,
"enabled": true,
"weight": 1
},
"spelling": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"localeConvention": {
"addressFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"currencyFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"dateFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"localeConvention": {
"code": 123,
"enabled": true,
"weight": 1
},
"measurementFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"shortcutKey": {
"code": 123,
"enabled": true,
"weight": 1
},
"telephoneFormat": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"other": {
"other": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"style": {
"awkward": {
"code": 123,
"enabled": true,
"weight": 1
},
"companyStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistentStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"style": {
"code": 123,
"enabled": true,
"weight": 1
},
"thirdPartyStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"unidiomatic": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"terminology": {
"inconsistentUseOfTerminology": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistentWithTb": {
"code": 123,
"enabled": true,
"weight": 1
},
"terminology": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"verity": {
"cultureSpecificReference": {
"code": 123,
"enabled": true,
"weight": 1
},
"verity": {
"code": 123,
"enabled": true,
"weight": 1
}
}
},
"name": "<string>",
"penaltyPoints": {
"critical": {
"code": 123,
"value": 123
},
"major": {
"code": 123,
"value": 123
},
"minor": {
"code": 123,
"value": 123
},
"neutral": {
"code": 123,
"value": 123
}
}
}
'import requests
url = "https://cloud.memsource.com/web/api2/v1/lqa/profiles"
payload = {
"errorCategories": {
"accuracy": {
"accuracy": {
"code": 123,
"enabled": True,
"weight": 1
},
"addition": {
"code": 123,
"enabled": True,
"weight": 1
},
"improperTmMatch": {
"code": 123,
"enabled": True,
"weight": 1
},
"mistranslation": {
"code": 123,
"enabled": True,
"weight": 1
},
"omission": {
"code": 123,
"enabled": True,
"weight": 1
},
"overTranslation": {
"code": 123,
"enabled": True,
"weight": 1
},
"underTranslation": {
"code": 123,
"enabled": True,
"weight": 1
},
"untranslated": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"design": {
"design": {
"code": 123,
"enabled": True,
"weight": 1
},
"length": {
"code": 123,
"enabled": True,
"weight": 1
},
"localFormatting": {
"code": 123,
"enabled": True,
"weight": 1
},
"markup": {
"code": 123,
"enabled": True,
"weight": 1
},
"missingText": {
"code": 123,
"enabled": True,
"weight": 1
},
"truncation": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"fluency": {
"characterEncoding": {
"code": 123,
"enabled": True,
"weight": 1
},
"crossReference": {
"code": 123,
"enabled": True,
"weight": 1
},
"fluency": {
"code": 123,
"enabled": True,
"weight": 1
},
"grammar": {
"code": 123,
"enabled": True,
"weight": 1
},
"grammaticalRegister": {
"code": 123,
"enabled": True,
"weight": 1
},
"inconsistency": {
"code": 123,
"enabled": True,
"weight": 1
},
"punctuation": {
"code": 123,
"enabled": True,
"weight": 1
},
"spelling": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"localeConvention": {
"addressFormat": {
"code": 123,
"enabled": True,
"weight": 1
},
"currencyFormat": {
"code": 123,
"enabled": True,
"weight": 1
},
"dateFormat": {
"code": 123,
"enabled": True,
"weight": 1
},
"localeConvention": {
"code": 123,
"enabled": True,
"weight": 1
},
"measurementFormat": {
"code": 123,
"enabled": True,
"weight": 1
},
"shortcutKey": {
"code": 123,
"enabled": True,
"weight": 1
},
"telephoneFormat": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"other": { "other": {
"code": 123,
"enabled": True,
"weight": 1
} },
"style": {
"awkward": {
"code": 123,
"enabled": True,
"weight": 1
},
"companyStyle": {
"code": 123,
"enabled": True,
"weight": 1
},
"inconsistentStyle": {
"code": 123,
"enabled": True,
"weight": 1
},
"style": {
"code": 123,
"enabled": True,
"weight": 1
},
"thirdPartyStyle": {
"code": 123,
"enabled": True,
"weight": 1
},
"unidiomatic": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"terminology": {
"inconsistentUseOfTerminology": {
"code": 123,
"enabled": True,
"weight": 1
},
"inconsistentWithTb": {
"code": 123,
"enabled": True,
"weight": 1
},
"terminology": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"verity": {
"cultureSpecificReference": {
"code": 123,
"enabled": True,
"weight": 1
},
"verity": {
"code": 123,
"enabled": True,
"weight": 1
}
}
},
"name": "<string>",
"penaltyPoints": {
"critical": {
"code": 123,
"value": 123
},
"major": {
"code": 123,
"value": 123
},
"minor": {
"code": 123,
"value": 123
},
"neutral": {
"code": 123,
"value": 123
}
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
errorCategories: {
accuracy: {
accuracy: {code: 123, enabled: true, weight: 1},
addition: {code: 123, enabled: true, weight: 1},
improperTmMatch: {code: 123, enabled: true, weight: 1},
mistranslation: {code: 123, enabled: true, weight: 1},
omission: {code: 123, enabled: true, weight: 1},
overTranslation: {code: 123, enabled: true, weight: 1},
underTranslation: {code: 123, enabled: true, weight: 1},
untranslated: {code: 123, enabled: true, weight: 1}
},
design: {
design: {code: 123, enabled: true, weight: 1},
length: {code: 123, enabled: true, weight: 1},
localFormatting: {code: 123, enabled: true, weight: 1},
markup: {code: 123, enabled: true, weight: 1},
missingText: {code: 123, enabled: true, weight: 1},
truncation: {code: 123, enabled: true, weight: 1}
},
fluency: {
characterEncoding: {code: 123, enabled: true, weight: 1},
crossReference: {code: 123, enabled: true, weight: 1},
fluency: {code: 123, enabled: true, weight: 1},
grammar: {code: 123, enabled: true, weight: 1},
grammaticalRegister: {code: 123, enabled: true, weight: 1},
inconsistency: {code: 123, enabled: true, weight: 1},
punctuation: {code: 123, enabled: true, weight: 1},
spelling: {code: 123, enabled: true, weight: 1}
},
localeConvention: {
addressFormat: {code: 123, enabled: true, weight: 1},
currencyFormat: {code: 123, enabled: true, weight: 1},
dateFormat: {code: 123, enabled: true, weight: 1},
localeConvention: {code: 123, enabled: true, weight: 1},
measurementFormat: {code: 123, enabled: true, weight: 1},
shortcutKey: {code: 123, enabled: true, weight: 1},
telephoneFormat: {code: 123, enabled: true, weight: 1}
},
other: {other: {code: 123, enabled: true, weight: 1}},
style: {
awkward: {code: 123, enabled: true, weight: 1},
companyStyle: {code: 123, enabled: true, weight: 1},
inconsistentStyle: {code: 123, enabled: true, weight: 1},
style: {code: 123, enabled: true, weight: 1},
thirdPartyStyle: {code: 123, enabled: true, weight: 1},
unidiomatic: {code: 123, enabled: true, weight: 1}
},
terminology: {
inconsistentUseOfTerminology: {code: 123, enabled: true, weight: 1},
inconsistentWithTb: {code: 123, enabled: true, weight: 1},
terminology: {code: 123, enabled: true, weight: 1}
},
verity: {
cultureSpecificReference: {code: 123, enabled: true, weight: 1},
verity: {code: 123, enabled: true, weight: 1}
}
},
name: '<string>',
penaltyPoints: {
critical: {code: 123, value: 123},
major: {code: 123, value: 123},
minor: {code: 123, value: 123},
neutral: {code: 123, value: 123}
}
})
};
fetch('https://cloud.memsource.com/web/api2/v1/lqa/profiles', 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/v1/lqa/profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'errorCategories' => [
'accuracy' => [
'accuracy' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'addition' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'improperTmMatch' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'mistranslation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'omission' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'overTranslation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'underTranslation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'untranslated' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'design' => [
'design' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'length' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'localFormatting' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'markup' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'missingText' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'truncation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'fluency' => [
'characterEncoding' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'crossReference' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'fluency' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'grammar' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'grammaticalRegister' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'inconsistency' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'punctuation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'spelling' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'localeConvention' => [
'addressFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'currencyFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'dateFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'localeConvention' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'measurementFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'shortcutKey' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'telephoneFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'other' => [
'other' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'style' => [
'awkward' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'companyStyle' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'inconsistentStyle' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'style' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'thirdPartyStyle' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'unidiomatic' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'terminology' => [
'inconsistentUseOfTerminology' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'inconsistentWithTb' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'terminology' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'verity' => [
'cultureSpecificReference' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'verity' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
]
],
'name' => '<string>',
'penaltyPoints' => [
'critical' => [
'code' => 123,
'value' => 123
],
'major' => [
'code' => 123,
'value' => 123
],
'minor' => [
'code' => 123,
'value' => 123
],
'neutral' => [
'code' => 123,
'value' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v1/lqa/profiles"
payload := strings.NewReader("{\n \"errorCategories\": {\n \"accuracy\": {\n \"accuracy\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"addition\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"improperTmMatch\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"mistranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"omission\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"overTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"underTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"untranslated\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"design\": {\n \"design\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"length\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localFormatting\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"markup\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"missingText\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"truncation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"fluency\": {\n \"characterEncoding\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"crossReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"fluency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammar\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammaticalRegister\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"punctuation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"spelling\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"localeConvention\": {\n \"addressFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"currencyFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"dateFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localeConvention\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"measurementFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"shortcutKey\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"telephoneFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"other\": {\n \"other\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"style\": {\n \"awkward\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"companyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"style\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"thirdPartyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"unidiomatic\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"terminology\": {\n \"inconsistentUseOfTerminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentWithTb\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"terminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"verity\": {\n \"cultureSpecificReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"verity\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n }\n },\n \"name\": \"<string>\",\n \"penaltyPoints\": {\n \"critical\": {\n \"code\": 123,\n \"value\": 123\n },\n \"major\": {\n \"code\": 123,\n \"value\": 123\n },\n \"minor\": {\n \"code\": 123,\n \"value\": 123\n },\n \"neutral\": {\n \"code\": 123,\n \"value\": 123\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://cloud.memsource.com/web/api2/v1/lqa/profiles")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"errorCategories\": {\n \"accuracy\": {\n \"accuracy\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"addition\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"improperTmMatch\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"mistranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"omission\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"overTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"underTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"untranslated\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"design\": {\n \"design\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"length\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localFormatting\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"markup\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"missingText\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"truncation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"fluency\": {\n \"characterEncoding\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"crossReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"fluency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammar\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammaticalRegister\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"punctuation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"spelling\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"localeConvention\": {\n \"addressFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"currencyFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"dateFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localeConvention\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"measurementFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"shortcutKey\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"telephoneFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"other\": {\n \"other\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"style\": {\n \"awkward\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"companyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"style\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"thirdPartyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"unidiomatic\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"terminology\": {\n \"inconsistentUseOfTerminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentWithTb\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"terminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"verity\": {\n \"cultureSpecificReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"verity\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n }\n },\n \"name\": \"<string>\",\n \"penaltyPoints\": {\n \"critical\": {\n \"code\": 123,\n \"value\": 123\n },\n \"major\": {\n \"code\": 123,\n \"value\": 123\n },\n \"minor\": {\n \"code\": 123,\n \"value\": 123\n },\n \"neutral\": {\n \"code\": 123,\n \"value\": 123\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v1/lqa/profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"errorCategories\": {\n \"accuracy\": {\n \"accuracy\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"addition\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"improperTmMatch\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"mistranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"omission\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"overTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"underTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"untranslated\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"design\": {\n \"design\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"length\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localFormatting\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"markup\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"missingText\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"truncation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"fluency\": {\n \"characterEncoding\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"crossReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"fluency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammar\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammaticalRegister\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"punctuation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"spelling\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"localeConvention\": {\n \"addressFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"currencyFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"dateFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localeConvention\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"measurementFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"shortcutKey\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"telephoneFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"other\": {\n \"other\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"style\": {\n \"awkward\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"companyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"style\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"thirdPartyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"unidiomatic\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"terminology\": {\n \"inconsistentUseOfTerminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentWithTb\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"terminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"verity\": {\n \"cultureSpecificReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"verity\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n }\n },\n \"name\": \"<string>\",\n \"penaltyPoints\": {\n \"critical\": {\n \"code\": 123,\n \"value\": 123\n },\n \"major\": {\n \"code\": 123,\n \"value\": 123\n },\n \"minor\": {\n \"code\": 123,\n \"value\": 123\n },\n \"neutral\": {\n \"code\": 123,\n \"value\": 123\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"errorCategories": {
"accuracy": {
"accuracy": {
"code": 123,
"enabled": true,
"weight": 1
},
"addition": {
"code": 123,
"enabled": true,
"weight": 1
},
"improperTmMatch": {
"code": 123,
"enabled": true,
"weight": 1
},
"mistranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"omission": {
"code": 123,
"enabled": true,
"weight": 1
},
"overTranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"underTranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"untranslated": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"design": {
"design": {
"code": 123,
"enabled": true,
"weight": 1
},
"length": {
"code": 123,
"enabled": true,
"weight": 1
},
"localFormatting": {
"code": 123,
"enabled": true,
"weight": 1
},
"markup": {
"code": 123,
"enabled": true,
"weight": 1
},
"missingText": {
"code": 123,
"enabled": true,
"weight": 1
},
"truncation": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"fluency": {
"characterEncoding": {
"code": 123,
"enabled": true,
"weight": 1
},
"crossReference": {
"code": 123,
"enabled": true,
"weight": 1
},
"fluency": {
"code": 123,
"enabled": true,
"weight": 1
},
"grammar": {
"code": 123,
"enabled": true,
"weight": 1
},
"grammaticalRegister": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistency": {
"code": 123,
"enabled": true,
"weight": 1
},
"punctuation": {
"code": 123,
"enabled": true,
"weight": 1
},
"spelling": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"localeConvention": {
"addressFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"currencyFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"dateFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"localeConvention": {
"code": 123,
"enabled": true,
"weight": 1
},
"measurementFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"shortcutKey": {
"code": 123,
"enabled": true,
"weight": 1
},
"telephoneFormat": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"other": {
"other": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"style": {
"awkward": {
"code": 123,
"enabled": true,
"weight": 1
},
"companyStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistentStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"style": {
"code": 123,
"enabled": true,
"weight": 1
},
"thirdPartyStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"unidiomatic": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"terminology": {
"inconsistentUseOfTerminology": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistentWithTb": {
"code": 123,
"enabled": true,
"weight": 1
},
"terminology": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"verity": {
"cultureSpecificReference": {
"code": 123,
"enabled": true,
"weight": 1
},
"verity": {
"code": 123,
"enabled": true,
"weight": 1
}
}
},
"isDefault": true,
"name": "<string>",
"organization": {
"uid": "3HYnHHLkTPJfMxBCDbPXFe"
},
"passFailThreshold": {
"minScorePercentage": 99
},
"penaltyPoints": {
"critical": {
"code": 123,
"value": 123
},
"major": {
"code": 123,
"value": 123
},
"minor": {
"code": 123,
"value": 123
},
"neutral": {
"code": 123,
"value": 123
}
},
"uid": "string"
}Create LQA profile
Requires LQA to be enabled for the organization. Requires internal role.
curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/lqa/profiles \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"errorCategories": {
"accuracy": {
"accuracy": {
"code": 123,
"enabled": true,
"weight": 1
},
"addition": {
"code": 123,
"enabled": true,
"weight": 1
},
"improperTmMatch": {
"code": 123,
"enabled": true,
"weight": 1
},
"mistranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"omission": {
"code": 123,
"enabled": true,
"weight": 1
},
"overTranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"underTranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"untranslated": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"design": {
"design": {
"code": 123,
"enabled": true,
"weight": 1
},
"length": {
"code": 123,
"enabled": true,
"weight": 1
},
"localFormatting": {
"code": 123,
"enabled": true,
"weight": 1
},
"markup": {
"code": 123,
"enabled": true,
"weight": 1
},
"missingText": {
"code": 123,
"enabled": true,
"weight": 1
},
"truncation": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"fluency": {
"characterEncoding": {
"code": 123,
"enabled": true,
"weight": 1
},
"crossReference": {
"code": 123,
"enabled": true,
"weight": 1
},
"fluency": {
"code": 123,
"enabled": true,
"weight": 1
},
"grammar": {
"code": 123,
"enabled": true,
"weight": 1
},
"grammaticalRegister": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistency": {
"code": 123,
"enabled": true,
"weight": 1
},
"punctuation": {
"code": 123,
"enabled": true,
"weight": 1
},
"spelling": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"localeConvention": {
"addressFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"currencyFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"dateFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"localeConvention": {
"code": 123,
"enabled": true,
"weight": 1
},
"measurementFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"shortcutKey": {
"code": 123,
"enabled": true,
"weight": 1
},
"telephoneFormat": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"other": {
"other": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"style": {
"awkward": {
"code": 123,
"enabled": true,
"weight": 1
},
"companyStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistentStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"style": {
"code": 123,
"enabled": true,
"weight": 1
},
"thirdPartyStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"unidiomatic": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"terminology": {
"inconsistentUseOfTerminology": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistentWithTb": {
"code": 123,
"enabled": true,
"weight": 1
},
"terminology": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"verity": {
"cultureSpecificReference": {
"code": 123,
"enabled": true,
"weight": 1
},
"verity": {
"code": 123,
"enabled": true,
"weight": 1
}
}
},
"name": "<string>",
"penaltyPoints": {
"critical": {
"code": 123,
"value": 123
},
"major": {
"code": 123,
"value": 123
},
"minor": {
"code": 123,
"value": 123
},
"neutral": {
"code": 123,
"value": 123
}
}
}
'import requests
url = "https://cloud.memsource.com/web/api2/v1/lqa/profiles"
payload = {
"errorCategories": {
"accuracy": {
"accuracy": {
"code": 123,
"enabled": True,
"weight": 1
},
"addition": {
"code": 123,
"enabled": True,
"weight": 1
},
"improperTmMatch": {
"code": 123,
"enabled": True,
"weight": 1
},
"mistranslation": {
"code": 123,
"enabled": True,
"weight": 1
},
"omission": {
"code": 123,
"enabled": True,
"weight": 1
},
"overTranslation": {
"code": 123,
"enabled": True,
"weight": 1
},
"underTranslation": {
"code": 123,
"enabled": True,
"weight": 1
},
"untranslated": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"design": {
"design": {
"code": 123,
"enabled": True,
"weight": 1
},
"length": {
"code": 123,
"enabled": True,
"weight": 1
},
"localFormatting": {
"code": 123,
"enabled": True,
"weight": 1
},
"markup": {
"code": 123,
"enabled": True,
"weight": 1
},
"missingText": {
"code": 123,
"enabled": True,
"weight": 1
},
"truncation": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"fluency": {
"characterEncoding": {
"code": 123,
"enabled": True,
"weight": 1
},
"crossReference": {
"code": 123,
"enabled": True,
"weight": 1
},
"fluency": {
"code": 123,
"enabled": True,
"weight": 1
},
"grammar": {
"code": 123,
"enabled": True,
"weight": 1
},
"grammaticalRegister": {
"code": 123,
"enabled": True,
"weight": 1
},
"inconsistency": {
"code": 123,
"enabled": True,
"weight": 1
},
"punctuation": {
"code": 123,
"enabled": True,
"weight": 1
},
"spelling": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"localeConvention": {
"addressFormat": {
"code": 123,
"enabled": True,
"weight": 1
},
"currencyFormat": {
"code": 123,
"enabled": True,
"weight": 1
},
"dateFormat": {
"code": 123,
"enabled": True,
"weight": 1
},
"localeConvention": {
"code": 123,
"enabled": True,
"weight": 1
},
"measurementFormat": {
"code": 123,
"enabled": True,
"weight": 1
},
"shortcutKey": {
"code": 123,
"enabled": True,
"weight": 1
},
"telephoneFormat": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"other": { "other": {
"code": 123,
"enabled": True,
"weight": 1
} },
"style": {
"awkward": {
"code": 123,
"enabled": True,
"weight": 1
},
"companyStyle": {
"code": 123,
"enabled": True,
"weight": 1
},
"inconsistentStyle": {
"code": 123,
"enabled": True,
"weight": 1
},
"style": {
"code": 123,
"enabled": True,
"weight": 1
},
"thirdPartyStyle": {
"code": 123,
"enabled": True,
"weight": 1
},
"unidiomatic": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"terminology": {
"inconsistentUseOfTerminology": {
"code": 123,
"enabled": True,
"weight": 1
},
"inconsistentWithTb": {
"code": 123,
"enabled": True,
"weight": 1
},
"terminology": {
"code": 123,
"enabled": True,
"weight": 1
}
},
"verity": {
"cultureSpecificReference": {
"code": 123,
"enabled": True,
"weight": 1
},
"verity": {
"code": 123,
"enabled": True,
"weight": 1
}
}
},
"name": "<string>",
"penaltyPoints": {
"critical": {
"code": 123,
"value": 123
},
"major": {
"code": 123,
"value": 123
},
"minor": {
"code": 123,
"value": 123
},
"neutral": {
"code": 123,
"value": 123
}
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
errorCategories: {
accuracy: {
accuracy: {code: 123, enabled: true, weight: 1},
addition: {code: 123, enabled: true, weight: 1},
improperTmMatch: {code: 123, enabled: true, weight: 1},
mistranslation: {code: 123, enabled: true, weight: 1},
omission: {code: 123, enabled: true, weight: 1},
overTranslation: {code: 123, enabled: true, weight: 1},
underTranslation: {code: 123, enabled: true, weight: 1},
untranslated: {code: 123, enabled: true, weight: 1}
},
design: {
design: {code: 123, enabled: true, weight: 1},
length: {code: 123, enabled: true, weight: 1},
localFormatting: {code: 123, enabled: true, weight: 1},
markup: {code: 123, enabled: true, weight: 1},
missingText: {code: 123, enabled: true, weight: 1},
truncation: {code: 123, enabled: true, weight: 1}
},
fluency: {
characterEncoding: {code: 123, enabled: true, weight: 1},
crossReference: {code: 123, enabled: true, weight: 1},
fluency: {code: 123, enabled: true, weight: 1},
grammar: {code: 123, enabled: true, weight: 1},
grammaticalRegister: {code: 123, enabled: true, weight: 1},
inconsistency: {code: 123, enabled: true, weight: 1},
punctuation: {code: 123, enabled: true, weight: 1},
spelling: {code: 123, enabled: true, weight: 1}
},
localeConvention: {
addressFormat: {code: 123, enabled: true, weight: 1},
currencyFormat: {code: 123, enabled: true, weight: 1},
dateFormat: {code: 123, enabled: true, weight: 1},
localeConvention: {code: 123, enabled: true, weight: 1},
measurementFormat: {code: 123, enabled: true, weight: 1},
shortcutKey: {code: 123, enabled: true, weight: 1},
telephoneFormat: {code: 123, enabled: true, weight: 1}
},
other: {other: {code: 123, enabled: true, weight: 1}},
style: {
awkward: {code: 123, enabled: true, weight: 1},
companyStyle: {code: 123, enabled: true, weight: 1},
inconsistentStyle: {code: 123, enabled: true, weight: 1},
style: {code: 123, enabled: true, weight: 1},
thirdPartyStyle: {code: 123, enabled: true, weight: 1},
unidiomatic: {code: 123, enabled: true, weight: 1}
},
terminology: {
inconsistentUseOfTerminology: {code: 123, enabled: true, weight: 1},
inconsistentWithTb: {code: 123, enabled: true, weight: 1},
terminology: {code: 123, enabled: true, weight: 1}
},
verity: {
cultureSpecificReference: {code: 123, enabled: true, weight: 1},
verity: {code: 123, enabled: true, weight: 1}
}
},
name: '<string>',
penaltyPoints: {
critical: {code: 123, value: 123},
major: {code: 123, value: 123},
minor: {code: 123, value: 123},
neutral: {code: 123, value: 123}
}
})
};
fetch('https://cloud.memsource.com/web/api2/v1/lqa/profiles', 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/v1/lqa/profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'errorCategories' => [
'accuracy' => [
'accuracy' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'addition' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'improperTmMatch' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'mistranslation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'omission' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'overTranslation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'underTranslation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'untranslated' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'design' => [
'design' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'length' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'localFormatting' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'markup' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'missingText' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'truncation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'fluency' => [
'characterEncoding' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'crossReference' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'fluency' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'grammar' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'grammaticalRegister' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'inconsistency' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'punctuation' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'spelling' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'localeConvention' => [
'addressFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'currencyFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'dateFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'localeConvention' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'measurementFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'shortcutKey' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'telephoneFormat' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'other' => [
'other' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'style' => [
'awkward' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'companyStyle' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'inconsistentStyle' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'style' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'thirdPartyStyle' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'unidiomatic' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'terminology' => [
'inconsistentUseOfTerminology' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'inconsistentWithTb' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'terminology' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
],
'verity' => [
'cultureSpecificReference' => [
'code' => 123,
'enabled' => true,
'weight' => 1
],
'verity' => [
'code' => 123,
'enabled' => true,
'weight' => 1
]
]
],
'name' => '<string>',
'penaltyPoints' => [
'critical' => [
'code' => 123,
'value' => 123
],
'major' => [
'code' => 123,
'value' => 123
],
'minor' => [
'code' => 123,
'value' => 123
],
'neutral' => [
'code' => 123,
'value' => 123
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://cloud.memsource.com/web/api2/v1/lqa/profiles"
payload := strings.NewReader("{\n \"errorCategories\": {\n \"accuracy\": {\n \"accuracy\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"addition\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"improperTmMatch\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"mistranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"omission\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"overTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"underTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"untranslated\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"design\": {\n \"design\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"length\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localFormatting\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"markup\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"missingText\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"truncation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"fluency\": {\n \"characterEncoding\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"crossReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"fluency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammar\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammaticalRegister\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"punctuation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"spelling\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"localeConvention\": {\n \"addressFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"currencyFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"dateFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localeConvention\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"measurementFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"shortcutKey\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"telephoneFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"other\": {\n \"other\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"style\": {\n \"awkward\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"companyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"style\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"thirdPartyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"unidiomatic\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"terminology\": {\n \"inconsistentUseOfTerminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentWithTb\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"terminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"verity\": {\n \"cultureSpecificReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"verity\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n }\n },\n \"name\": \"<string>\",\n \"penaltyPoints\": {\n \"critical\": {\n \"code\": 123,\n \"value\": 123\n },\n \"major\": {\n \"code\": 123,\n \"value\": 123\n },\n \"minor\": {\n \"code\": 123,\n \"value\": 123\n },\n \"neutral\": {\n \"code\": 123,\n \"value\": 123\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://cloud.memsource.com/web/api2/v1/lqa/profiles")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"errorCategories\": {\n \"accuracy\": {\n \"accuracy\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"addition\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"improperTmMatch\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"mistranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"omission\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"overTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"underTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"untranslated\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"design\": {\n \"design\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"length\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localFormatting\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"markup\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"missingText\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"truncation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"fluency\": {\n \"characterEncoding\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"crossReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"fluency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammar\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammaticalRegister\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"punctuation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"spelling\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"localeConvention\": {\n \"addressFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"currencyFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"dateFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localeConvention\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"measurementFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"shortcutKey\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"telephoneFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"other\": {\n \"other\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"style\": {\n \"awkward\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"companyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"style\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"thirdPartyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"unidiomatic\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"terminology\": {\n \"inconsistentUseOfTerminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentWithTb\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"terminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"verity\": {\n \"cultureSpecificReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"verity\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n }\n },\n \"name\": \"<string>\",\n \"penaltyPoints\": {\n \"critical\": {\n \"code\": 123,\n \"value\": 123\n },\n \"major\": {\n \"code\": 123,\n \"value\": 123\n },\n \"minor\": {\n \"code\": 123,\n \"value\": 123\n },\n \"neutral\": {\n \"code\": 123,\n \"value\": 123\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v1/lqa/profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"errorCategories\": {\n \"accuracy\": {\n \"accuracy\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"addition\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"improperTmMatch\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"mistranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"omission\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"overTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"underTranslation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"untranslated\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"design\": {\n \"design\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"length\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localFormatting\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"markup\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"missingText\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"truncation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"fluency\": {\n \"characterEncoding\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"crossReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"fluency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammar\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"grammaticalRegister\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistency\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"punctuation\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"spelling\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"localeConvention\": {\n \"addressFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"currencyFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"dateFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"localeConvention\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"measurementFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"shortcutKey\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"telephoneFormat\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"other\": {\n \"other\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"style\": {\n \"awkward\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"companyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"style\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"thirdPartyStyle\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"unidiomatic\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"terminology\": {\n \"inconsistentUseOfTerminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"inconsistentWithTb\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"terminology\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n },\n \"verity\": {\n \"cultureSpecificReference\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n },\n \"verity\": {\n \"code\": 123,\n \"enabled\": true,\n \"weight\": 1\n }\n }\n },\n \"name\": \"<string>\",\n \"penaltyPoints\": {\n \"critical\": {\n \"code\": 123,\n \"value\": 123\n },\n \"major\": {\n \"code\": 123,\n \"value\": 123\n },\n \"minor\": {\n \"code\": 123,\n \"value\": 123\n },\n \"neutral\": {\n \"code\": 123,\n \"value\": 123\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"dateCreated": "2023-11-07T05:31:56Z",
"errorCategories": {
"accuracy": {
"accuracy": {
"code": 123,
"enabled": true,
"weight": 1
},
"addition": {
"code": 123,
"enabled": true,
"weight": 1
},
"improperTmMatch": {
"code": 123,
"enabled": true,
"weight": 1
},
"mistranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"omission": {
"code": 123,
"enabled": true,
"weight": 1
},
"overTranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"underTranslation": {
"code": 123,
"enabled": true,
"weight": 1
},
"untranslated": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"design": {
"design": {
"code": 123,
"enabled": true,
"weight": 1
},
"length": {
"code": 123,
"enabled": true,
"weight": 1
},
"localFormatting": {
"code": 123,
"enabled": true,
"weight": 1
},
"markup": {
"code": 123,
"enabled": true,
"weight": 1
},
"missingText": {
"code": 123,
"enabled": true,
"weight": 1
},
"truncation": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"fluency": {
"characterEncoding": {
"code": 123,
"enabled": true,
"weight": 1
},
"crossReference": {
"code": 123,
"enabled": true,
"weight": 1
},
"fluency": {
"code": 123,
"enabled": true,
"weight": 1
},
"grammar": {
"code": 123,
"enabled": true,
"weight": 1
},
"grammaticalRegister": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistency": {
"code": 123,
"enabled": true,
"weight": 1
},
"punctuation": {
"code": 123,
"enabled": true,
"weight": 1
},
"spelling": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"localeConvention": {
"addressFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"currencyFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"dateFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"localeConvention": {
"code": 123,
"enabled": true,
"weight": 1
},
"measurementFormat": {
"code": 123,
"enabled": true,
"weight": 1
},
"shortcutKey": {
"code": 123,
"enabled": true,
"weight": 1
},
"telephoneFormat": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"other": {
"other": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"style": {
"awkward": {
"code": 123,
"enabled": true,
"weight": 1
},
"companyStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistentStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"style": {
"code": 123,
"enabled": true,
"weight": 1
},
"thirdPartyStyle": {
"code": 123,
"enabled": true,
"weight": 1
},
"unidiomatic": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"terminology": {
"inconsistentUseOfTerminology": {
"code": 123,
"enabled": true,
"weight": 1
},
"inconsistentWithTb": {
"code": 123,
"enabled": true,
"weight": 1
},
"terminology": {
"code": 123,
"enabled": true,
"weight": 1
}
},
"verity": {
"cultureSpecificReference": {
"code": 123,
"enabled": true,
"weight": 1
},
"verity": {
"code": 123,
"enabled": true,
"weight": 1
}
}
},
"isDefault": true,
"name": "<string>",
"organization": {
"uid": "3HYnHHLkTPJfMxBCDbPXFe"
},
"passFailThreshold": {
"minScorePercentage": 99
},
"penaltyPoints": {
"critical": {
"code": 123,
"value": 123
},
"major": {
"code": 123,
"value": 123
},
"minor": {
"code": 123,
"value": 123
},
"neutral": {
"code": 123,
"value": 123
}
},
"uid": "string"
}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.
Body
LQA profile to create
Error categories and their importance weight. If not provided, defaults will be created.
Show child attributes
Show child attributes
Name of the LQA profile
1 - 255Show child attributes
Show child attributes
Penalty points for each severity level. By default neutral is 0, minor is 1, major is 5, critical is 10.
Show child attributes
Show child attributes
Response
Created
Show child attributes
Show child attributes
Date and time when the profile was created
Error categories and their importance weight. If not provided, defaults will be created.
Show child attributes
Show child attributes
If profile is set as default for organization
Name of the profile
Reference to an object by its unique identifier
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Penalty points for each severity level. By default neutral is 0, minor is 1, major is 5, critical is 10.
Show child attributes
Show child attributes
UID of the profile
"string"
Was this page helpful?