Get Unmatched Result Test
curl --request GET \
--url https://api.us.junction.com/v3/unmatched_result_test/{run_id} \
--header 'x-vital-api-key: <api-key>'import requests
url = "https://api.us.junction.com/v3/unmatched_result_test/{run_id}"
headers = {"x-vital-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-vital-api-key': '<api-key>'}};
fetch('https://api.us.junction.com/v3/unmatched_result_test/{run_id}', 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://api.us.junction.com/v3/unmatched_result_test/{run_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-vital-api-key: <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://api.us.junction.com/v3/unmatched_result_test/{run_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-vital-api-key", "<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://api.us.junction.com/v3/unmatched_result_test/{run_id}")
.header("x-vital-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.us.junction.com/v3/unmatched_result_test/{run_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-vital-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"stage": "queued",
"case": "match_completed",
"order_source": "managed",
"result_status": "final",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"orders": {},
"raw_result_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": {
"code": "<string>",
"message": "<string>"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}{
"detail": "<unknown>"
}Unmatched Results
Get Unmatched Result Test
Retrieve the status and generated artifacts for a Sandbox unmatched-result test run via the Junction API.
GET
/
v3
/
unmatched_result_test
/
{run_id}
Get Unmatched Result Test
curl --request GET \
--url https://api.us.junction.com/v3/unmatched_result_test/{run_id} \
--header 'x-vital-api-key: <api-key>'import requests
url = "https://api.us.junction.com/v3/unmatched_result_test/{run_id}"
headers = {"x-vital-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-vital-api-key': '<api-key>'}};
fetch('https://api.us.junction.com/v3/unmatched_result_test/{run_id}', 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://api.us.junction.com/v3/unmatched_result_test/{run_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-vital-api-key: <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://api.us.junction.com/v3/unmatched_result_test/{run_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-vital-api-key", "<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://api.us.junction.com/v3/unmatched_result_test/{run_id}")
.header("x-vital-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.us.junction.com/v3/unmatched_result_test/{run_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-vital-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"stage": "queued",
"case": "match_completed",
"order_source": "managed",
"result_status": "final",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"orders": {},
"raw_result_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": {
"code": "<string>",
"message": "<string>"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z"
}{
"detail": "<unknown>"
}This feature is in closed beta.Interested in this feature? Get in touch with your Customer Success Manager.
This endpoint is available only in Sandbox and requires unmatched-result testing to be enabled for your team.
Authorizations
Vital Team API Key
Path Parameters
Response
Successful Response
ℹ️ This enum is non-exhaustive.
Available options:
queued, running, succeeded, failed ℹ️ This enum is non-exhaustive.
Available options:
queued, validating, selecting_configuration, creating_orders, transitioning_orders, writing_result, matching_result, verifying_review, succeeded, failed ℹ️ This enum is non-exhaustive.
Available options:
match_completed, match_cancelled, wrong_collection, wrong_lab, multiple_demo_match, match_sample_id_mismatch_demo, match_demo, no_match ℹ️ This enum is non-exhaustive.
Available options:
managed, provided ℹ️ This enum is non-exhaustive.
Available options:
final, partial Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?