Creates a DiagnosticOrderInput resource.
const url = 'http://api.probatix.localhost/v1/diagnostic_orders?XDEBUG_SESSION=PHPSTORM';const options = { method: 'POST', headers: { 'accept-language': 'de', 'X-API-TOKEN': '<X-API-TOKEN>', 'Content-Type': 'application/json' }, body: '{"productIds":["00112233-4455-6677-8899-aabbccddeeff"],"patient":{"firstName":"Jane","lastName":"Doe","email":"meron.nagy@probatix.de","gender":"M","dateOfBirth":"1994-01-15","healthInsuranceDetails":{"countryCode":"DE","provider":"Example Insurance","healthInsuranceTypeDE":"GKV","subscriberIdentifier":"example"}},"shippingAddress":{"address1":"Bismarckstraße 10-12","address2":"6. OG","zip":"10625","city":"Berlin","countryCode":"DE","firstName":"Jane","lastName":"Doe","phone":"030 56838352","company":"Probatix Health GmbH","name":"Probatix Health GmbH"},"metadata":{"yourReference1":"abc","yourReference2":123,"yourFlag1":true}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url 'http://api.probatix.localhost/v1/diagnostic_orders?XDEBUG_SESSION=PHPSTORM' \ --header 'Content-Type: application/json' \ --header 'X-API-TOKEN: <X-API-TOKEN>' \ --header 'accept-language: de' \ --data '{ "productIds": [ "00112233-4455-6677-8899-aabbccddeeff" ], "patient": { "firstName": "Jane", "lastName": "Doe", "email": "meron.nagy@probatix.de", "gender": "M", "dateOfBirth": "1994-01-15", "healthInsuranceDetails": { "countryCode": "DE", "provider": "Example Insurance", "healthInsuranceTypeDE": "GKV", "subscriberIdentifier": "example" } }, "shippingAddress": { "address1": "Bismarckstraße 10-12", "address2": "6. OG", "zip": "10625", "city": "Berlin", "countryCode": "DE", "firstName": "Jane", "lastName": "Doe", "phone": "030 56838352", "company": "Probatix Health GmbH", "name": "Probatix Health GmbH" }, "metadata": { "yourReference1": "abc", "yourReference2": 123, "yourFlag1": true } }'Creates a DiagnosticOrderInput resource.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Language for Errors and Translatable properties
Example
deQuery Parameters
Section titled “Query Parameters”Xdebug session for debugging
Example
?XDEBUG_SESSION=PHPSTORMRequest Bodyrequired
Section titled “Request Bodyrequired”The new DiagnosticOrderInput resource
object
UUIDs of the DiagnosticProducts to order. Provide at least one product ID.
Example
[ "00112233-4455-6677-8899-aabbccddeeff"]object
Example
JaneExample
DoeExample
meron.nagy@probatix.dePatient gender. Defaults to X (Unknown) when omitted.
Example
FPatient date of birth.
Example
1994-01-15object
Example
Bismarckstraße 10-12Example
6. OGExample
10625Example
BerlinExample
DEExample
JaneExample
DoeExample
030 56838352Example
Probatix Health GmbHExample
Probatix Health GmbHOptional partner-defined metadata. Up to 10 entries are supported and values must be JSON primitive values (string, number, or boolean).
Example
{ "yourReference1": "abc", "yourReference2": 123, "yourFlag1": true}object
UUIDs of the DiagnosticProducts to order. Provide at least one product ID.
Example
[ "00112233-4455-6677-8899-aabbccddeeff"]object
Example
JaneExample
DoeExample
meron.nagy@probatix.dePatient gender. Defaults to X (Unknown) when omitted.
Example
FPatient date of birth.
Example
1994-01-15object
Example
Bismarckstraße 10-12Example
6. OGExample
10625Example
BerlinExample
DEExample
JaneExample
DoeExample
030 56838352Example
Probatix Health GmbHExample
Probatix Health GmbHOptional partner-defined metadata. Up to 10 entries are supported and values must be JSON primitive values (string, number, or boolean).
Example
{ "yourReference1": "abc", "yourReference2": 123, "yourFlag1": true}Responses
Section titled “Responses”DiagnosticOrderInput resource created
object
IRIs of the diagnostic tests that belong to this order.
Timestamp when the order was created.
Timestamp when the outbound shipment was handed over for transportation.
object
Timestamp when the shipment was created.
Timestamp when the shipment was last updated.
Normalized shipment status for informational purposes only.
Shipment status from the provider please note some Providers are not 100% reliable and will occasionally deliver shipments without status updates.
Optional partner-defined metadata. Up to 10 entries are supported and values must be JSON primitive values (string, number, or boolean).
Example
{ "diagnosticTests": [ "/v1/diagnostic_tests/00112233-4455-6677-8899-aabbccddeeff" ], "shippedAt": "2026-05-04T09:15:00+00:00", "shipmentTracking": { "provider": "DHL", "trackingCode": "123", "url": "https://www.dhl.de/en/privatkunden/dhl-sendungsverfolgung.html?piececode=123", "shipmentStatus": "confirmed", "providerStatus": { "terminalStatus": true, "name": "DELIVERED", "value": "delivered" } }, "shippingAddress": { "address1": "Bismarckstraße 10-12", "address2": "6. OG", "zip": "10625", "city": "Berlin", "countryCode": "DE", "firstName": "Jane", "lastName": "Doe", "phone": "030 56838352", "company": "Probatix Health GmbH", "name": "Probatix Health GmbH" }, "metadata": { "yourReference1": "abc", "yourReference2": 123, "yourFlag1": true }}object
IRIs of the diagnostic tests that belong to this order.
Timestamp when the order was created.
Timestamp when the outbound shipment was handed over for transportation.
object
Timestamp when the shipment was created.
Timestamp when the shipment was last updated.
Normalized shipment status for informational purposes only.
Shipment status from the provider please note some Providers are not 100% reliable and will occasionally deliver shipments without status updates.
Optional partner-defined metadata. Up to 10 entries are supported and values must be JSON primitive values (string, number, or boolean).
Example
{ "@context": { "hydra": "http://www.w3.org/ns/hydra/core#" }, "diagnosticTests": [ "/v1/diagnostic_tests/00112233-4455-6677-8899-aabbccddeeff" ], "shippedAt": "2026-05-04T09:15:00+00:00", "shipmentTracking": { "provider": "DHL", "trackingCode": "123", "url": "https://www.dhl.de/en/privatkunden/dhl-sendungsverfolgung.html?piececode=123", "shipmentStatus": "confirmed", "providerStatus": { "terminalStatus": true, "name": "DELIVERED", "value": "delivered" } }, "shippingAddress": { "address1": "Bismarckstraße 10-12", "address2": "6. OG", "zip": "10625", "city": "Berlin", "countryCode": "DE", "firstName": "Jane", "lastName": "Doe", "phone": "030 56838352", "company": "Probatix Health GmbH", "name": "Probatix Health GmbH" }, "metadata": { "yourReference1": "abc", "yourReference2": 123, "yourFlag1": true }}Invalid input
A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "@context": { "hydra": "http://www.w3.org/ns/hydra/core#" }, "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}Unauthorized
A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "@context": { "hydra": "http://www.w3.org/ns/hydra/core#" }, "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}Forbidden
A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "@context": { "hydra": "http://www.w3.org/ns/hydra/core#" }, "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}A representation of common errors.
object
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
Example
{ "status": 400}An error occurred
Unprocessable entity
object
object
The property path of the violation
The message associated with the violation
The code of the violation
An extra hint to understand the violation
The serialized payload of the violation
object
Example
{ "@context": { "hydra": "http://www.w3.org/ns/hydra/core#" }, "status": 422}Unprocessable entity
object
object
The property path of the violation
The message associated with the violation
The code of the violation
An extra hint to understand the violation
The serialized payload of the violation
object
Example
{ "status": 422}Unprocessable entity
object
object
The property path of the violation
The message associated with the violation
The code of the violation
An extra hint to understand the violation
The serialized payload of the violation
object
Example
{ "status": 422}