Acknowledging Results
Result acknowledgment is a mandatory compliance step: patients cannot access their results until you acknowledge them, and failing to acknowledge transfers liability to your organisation.
Last updated
Was this helpful?
Was this helpful?
POST /api/v1/results/{order_item_id}/acknowledge?test_taker_id={test_taker_id}curl --request POST \
'https://vantage-sandbox.tryterra.co/api/v1/results/251285377984405507/acknowledge?test_taker_id=257837964552478720' \
-u 'YOUR_DEV_ID:YOUR_API_KEY'import requests
order_item_id = "251285377984405507"
test_taker_id = "257837964552478720"
url = f"https://vantage-sandbox.tryterra.co/api/v1/results/{order_item_id}/acknowledge"
response = requests.post(
url,
auth=("YOUR_DEV_ID", "YOUR_API_KEY"),
params={"test_taker_id": test_taker_id},
)
print(response.json())
print(response.status_code)package main
import (
"fmt"
"io"
"net/http"
)
func main() {
orderItemID := "251285377984405507"
testTakerID := "257837964552478720"
url := fmt.Sprintf(
"https://vantage-sandbox.tryterra.co/api/v1/results/%s/acknowledge?test_taker_id=%s",
orderItemID, testTakerID,
)
req, err := http.NewRequest("POST", url, nil)
if err != nil {
panic(err)
}
req.SetBasicAuth("YOUR_DEV_ID", "YOUR_API_KEY")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
fmt.Println(string(body))
}{ "status": "acknowledged" }