Record a verdict or detailed result for a case in a run
curl --request PATCH \
--url https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assigneeUserId": "<string>",
"result": "<string>",
"status": "<string>",
"elapsed": 1,
"comment": "<string>",
"linkedIssues": [
{}
],
"stepResults": [
{}
]
}
'import requests
url = "https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}"
payload = {
"assigneeUserId": "<string>",
"result": "<string>",
"status": "<string>",
"elapsed": 1,
"comment": "<string>",
"linkedIssues": [{}],
"stepResults": [{}]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assigneeUserId: '<string>',
result: '<string>',
status: '<string>',
elapsed: 1,
comment: '<string>',
linkedIssues: [{}],
stepResults: [{}]
})
};
fetch('https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}', 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.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'assigneeUserId' => '<string>',
'result' => '<string>',
'status' => '<string>',
'elapsed' => 1,
'comment' => '<string>',
'linkedIssues' => [
[
]
],
'stepResults' => [
[
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}"
payload := strings.NewReader("{\n \"assigneeUserId\": \"<string>\",\n \"result\": \"<string>\",\n \"status\": \"<string>\",\n \"elapsed\": 1,\n \"comment\": \"<string>\",\n \"linkedIssues\": [\n {}\n ],\n \"stepResults\": [\n {}\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.patch("https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"assigneeUserId\": \"<string>\",\n \"result\": \"<string>\",\n \"status\": \"<string>\",\n \"elapsed\": 1,\n \"comment\": \"<string>\",\n \"linkedIssues\": [\n {}\n ],\n \"stepResults\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"assigneeUserId\": \"<string>\",\n \"result\": \"<string>\",\n \"status\": \"<string>\",\n \"elapsed\": 1,\n \"comment\": \"<string>\",\n \"linkedIssues\": [\n {}\n ],\n \"stepResults\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {},
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"hasNext": true,
"hasPrev": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or unknown user PAT"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests"
}
}Update run test case
Record a verdict or detailed result on a case within a manual run.
PATCH
/
{projectId}
/
manual-runs
/
{runId}
/
test-cases
/
{runCaseId}
Record a verdict or detailed result for a case in a run
curl --request PATCH \
--url https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assigneeUserId": "<string>",
"result": "<string>",
"status": "<string>",
"elapsed": 1,
"comment": "<string>",
"linkedIssues": [
{}
],
"stepResults": [
{}
]
}
'import requests
url = "https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}"
payload = {
"assigneeUserId": "<string>",
"result": "<string>",
"status": "<string>",
"elapsed": 1,
"comment": "<string>",
"linkedIssues": [{}],
"stepResults": [{}]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assigneeUserId: '<string>',
result: '<string>',
status: '<string>',
elapsed: 1,
comment: '<string>',
linkedIssues: [{}],
stepResults: [{}]
})
};
fetch('https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}', 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.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'assigneeUserId' => '<string>',
'result' => '<string>',
'status' => '<string>',
'elapsed' => 1,
'comment' => '<string>',
'linkedIssues' => [
[
]
],
'stepResults' => [
[
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}"
payload := strings.NewReader("{\n \"assigneeUserId\": \"<string>\",\n \"result\": \"<string>\",\n \"status\": \"<string>\",\n \"elapsed\": 1,\n \"comment\": \"<string>\",\n \"linkedIssues\": [\n {}\n ],\n \"stepResults\": [\n {}\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.patch("https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"assigneeUserId\": \"<string>\",\n \"result\": \"<string>\",\n \"status\": \"<string>\",\n \"elapsed\": 1,\n \"comment\": \"<string>\",\n \"linkedIssues\": [\n {}\n ],\n \"stepResults\": [\n {}\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.testdino.com/api/v1/public/{projectId}/manual-runs/{runId}/test-cases/{runCaseId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"assigneeUserId\": \"<string>\",\n \"result\": \"<string>\",\n \"status\": \"<string>\",\n \"elapsed\": 1,\n \"comment\": \"<string>\",\n \"linkedIssues\": [\n {}\n ],\n \"stepResults\": [\n {}\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {},
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"hasNext": true,
"hasPrev": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or unknown user PAT"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests"
}
}Authorizations
User PAT (td_pat_) scoped to the target project
Path Parameters
The project identifier (e.g. project_abc123). Must match the project associated with your PAT.
Per-case reference: tcm_rtc_... ID, caseKey (TC-156), or the case _id.
Body
application/json
Two mutually exclusive modes (TCM rejects mixing them): quick verdict (assigneeUserId and/or result/status/elapsed) or detailed result (comment/linkedIssues/stepResults).
User _id or email; null unassigns.
untested | passed | failed | blocked | skipped | retest (display or canonical).
Alias for result.
Seconds.
Required range:
x >= 0Rich HTML.
e.g. [{ order: 1, status: passed, comment: '' }].
Was this page helpful?
⌘I