Replace a diagnostic test
Creates a replacement DiagnosticTest linked to the original test.
Creates a replacement DiagnosticTest linked to the original test.
Authorization
apiKey In: header
Path Parameters
DiagnosticTestReplaceInput identifier
Header Parameters
Language for Errors and Translatable properties
Allowed values: "de", "en", "fr"
The new DiagnosticTestReplaceInput resource
TypeScript Definitions
Use the request body type in TypeScript.
Optional reason for replacing the diagnostic test.
Optional additional detail about the replacement.
Response Body
curl -X POST "https://example.com/v1/diagnostic_tests/497f6eca-6276-4993-bfeb-53cbbbba6f08/replace" \ -H "accept-language: de" \ -H "Content-Type: application/json" \ -d '{ "cancellationReason": "damaged_kit", "cancellationReasonComment": "Specimen kit was damaged in transit." }'Cancel a diagnostic test POST
Cancels an eligible DiagnosticTest.
Download a document file GET
Returns the document as a binary file download. The response body is raw binary data, not JSON. Content negotiation is not used for this endpoint, and the `Accept` header is ignored. Use the response `Content-Type` and `Content-Disposition` headers to determine the actual file type and filename.