Get multiple LQA Assessments
curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/lqa/assessments \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"jobParts": "[{\"uid\": \"3HYnHHLkTPJfMxBCDbPXFe\"}, {\"uid\": \"7DkZmLpQvRsWnCxBtYeAg2\"}]"
}
'import requests
url = "https://cloud.memsource.com/web/api2/v1/lqa/assessments"
payload = { "jobParts": "[{\"uid\": \"3HYnHHLkTPJfMxBCDbPXFe\"}, {\"uid\": \"7DkZmLpQvRsWnCxBtYeAg2\"}]" }
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({
jobParts: '[{"uid": "3HYnHHLkTPJfMxBCDbPXFe"}, {"uid": "7DkZmLpQvRsWnCxBtYeAg2"}]'
})
};
fetch('https://cloud.memsource.com/web/api2/v1/lqa/assessments', 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/assessments",
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([
'jobParts' => '[{"uid": "3HYnHHLkTPJfMxBCDbPXFe"}, {"uid": "7DkZmLpQvRsWnCxBtYeAg2"}]'
]),
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/assessments"
payload := strings.NewReader("{\n \"jobParts\": \"[{\\\"uid\\\": \\\"3HYnHHLkTPJfMxBCDbPXFe\\\"}, {\\\"uid\\\": \\\"7DkZmLpQvRsWnCxBtYeAg2\\\"}]\"\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/assessments")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"jobParts\": \"[{\\\"uid\\\": \\\"3HYnHHLkTPJfMxBCDbPXFe\\\"}, {\\\"uid\\\": \\\"7DkZmLpQvRsWnCxBtYeAg2\\\"}]\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v1/lqa/assessments")
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 \"jobParts\": \"[{\\\"uid\\\": \\\"3HYnHHLkTPJfMxBCDbPXFe\\\"}, {\\\"uid\\\": \\\"7DkZmLpQvRsWnCxBtYeAg2\\\"}]\"\n}"
response = http.request(request)
puts response.read_body{
"assessmentDetails": [
{
"assessmentJobPartUid": "<string>",
"assessmentResult": {
"issueCounts": {
"critical": 0,
"criticalRepeated": 0,
"major": 1,
"majorRepeated": 0,
"minor": 3,
"minorRepeated": 1,
"neutral": 0,
"neutralRepeated": 0
},
"jobPart": {
"uid": "3HYnHHLkTPJfMxBCDbPXFe"
},
"status": "PASS",
"score": 94.5
},
"editedDate": "2023-11-07T05:31:56Z",
"finishedDate": "2023-11-07T05:31:56Z",
"jobPartUid": "<string>",
"lqaEnabled": true,
"lqaProfile": {
"dateCreated": "2024-03-15T09:00:00Z",
"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": "LqP8kMckeDcg"
},
"overallFeedback": "<string>",
"reportCanBeDownloaded": true,
"requestedJobPartUid": "<string>",
"reviewProvider": {
"organizationUid": "<string>",
"uid": "<string>"
},
"startedDate": "2023-11-07T05:31:56Z",
"translationProvider": {
"uid": "3HYnHHLkTPJfMxBCDbPXFe"
},
"workflowStep": {
"abbr": "<string>",
"id": "<string>",
"lqaEnabled": true,
"name": "<string>",
"order": 123,
"uid": "<string>"
}
}
]
}Language Quality Assessment
Get multiple LQA Assessments
Returns Assessment results for given jobs. If any given job is not from LQA workflow step, result from successive workflow steps may be returned
POST
/
api2
/
v1
/
lqa
/
assessments
Get multiple LQA Assessments
curl --request POST \
--url https://cloud.memsource.com/web/api2/v1/lqa/assessments \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"jobParts": "[{\"uid\": \"3HYnHHLkTPJfMxBCDbPXFe\"}, {\"uid\": \"7DkZmLpQvRsWnCxBtYeAg2\"}]"
}
'import requests
url = "https://cloud.memsource.com/web/api2/v1/lqa/assessments"
payload = { "jobParts": "[{\"uid\": \"3HYnHHLkTPJfMxBCDbPXFe\"}, {\"uid\": \"7DkZmLpQvRsWnCxBtYeAg2\"}]" }
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({
jobParts: '[{"uid": "3HYnHHLkTPJfMxBCDbPXFe"}, {"uid": "7DkZmLpQvRsWnCxBtYeAg2"}]'
})
};
fetch('https://cloud.memsource.com/web/api2/v1/lqa/assessments', 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/assessments",
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([
'jobParts' => '[{"uid": "3HYnHHLkTPJfMxBCDbPXFe"}, {"uid": "7DkZmLpQvRsWnCxBtYeAg2"}]'
]),
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/assessments"
payload := strings.NewReader("{\n \"jobParts\": \"[{\\\"uid\\\": \\\"3HYnHHLkTPJfMxBCDbPXFe\\\"}, {\\\"uid\\\": \\\"7DkZmLpQvRsWnCxBtYeAg2\\\"}]\"\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/assessments")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"jobParts\": \"[{\\\"uid\\\": \\\"3HYnHHLkTPJfMxBCDbPXFe\\\"}, {\\\"uid\\\": \\\"7DkZmLpQvRsWnCxBtYeAg2\\\"}]\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://cloud.memsource.com/web/api2/v1/lqa/assessments")
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 \"jobParts\": \"[{\\\"uid\\\": \\\"3HYnHHLkTPJfMxBCDbPXFe\\\"}, {\\\"uid\\\": \\\"7DkZmLpQvRsWnCxBtYeAg2\\\"}]\"\n}"
response = http.request(request)
puts response.read_body{
"assessmentDetails": [
{
"assessmentJobPartUid": "<string>",
"assessmentResult": {
"issueCounts": {
"critical": 0,
"criticalRepeated": 0,
"major": 1,
"majorRepeated": 0,
"minor": 3,
"minorRepeated": 1,
"neutral": 0,
"neutralRepeated": 0
},
"jobPart": {
"uid": "3HYnHHLkTPJfMxBCDbPXFe"
},
"status": "PASS",
"score": 94.5
},
"editedDate": "2023-11-07T05:31:56Z",
"finishedDate": "2023-11-07T05:31:56Z",
"jobPartUid": "<string>",
"lqaEnabled": true,
"lqaProfile": {
"dateCreated": "2024-03-15T09:00:00Z",
"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": "LqP8kMckeDcg"
},
"overallFeedback": "<string>",
"reportCanBeDownloaded": true,
"requestedJobPartUid": "<string>",
"reviewProvider": {
"organizationUid": "<string>",
"uid": "<string>"
},
"startedDate": "2023-11-07T05:31:56Z",
"translationProvider": {
"uid": "3HYnHHLkTPJfMxBCDbPXFe"
},
"workflowStep": {
"abbr": "<string>",
"id": "<string>",
"lqaEnabled": true,
"name": "<string>",
"order": 123,
"uid": "<string>"
}
}
]
}Authorizations
ApiTokenOAuth2
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
application/json
List of job part references for a batch LQA assessment operation
UIDs of the job parts to target; between 1 and 100 entries
Required array length:
1 - 100 elementsShow child attributes
Show child attributes
Example:
"[{\"uid\": \"3HYnHHLkTPJfMxBCDbPXFe\"}, {\"uid\": \"7DkZmLpQvRsWnCxBtYeAg2\"}]"
Response
OK
Show child attributes
Show child attributes
Was this page helpful?
⌘I