Get order details
curl --request GET \
--url https://reit.connectors.aicoflow.com/api/orders/{order_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://reit.connectors.aicoflow.com/api/orders/{order_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://reit.connectors.aicoflow.com/api/orders/{order_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://reit.connectors.aicoflow.com/api/orders/{order_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-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://reit.connectors.aicoflow.com/api/orders/{order_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-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://reit.connectors.aicoflow.com/api/orders/{order_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://reit.connectors.aicoflow.com/api/orders/{order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"order": {
"id": 123,
"short_name": "<string>",
"plate": "<string>",
"person": "<string>",
"phone": "<string>",
"email": "<string>",
"damage": "<string>",
"project_status": "<string>",
"station_id": 123,
"station_state": "<string>",
"shop_date": "<string>",
"repair_date": "<string>",
"finish_date": "<string>",
"planned_delivery_date": "<string>",
"parts_status": "<string>",
"missing_parts": 0,
"est_hours_karo": 123,
"est_hours_lack": 123,
"est_hours_mech": 123,
"vin": "<string>",
"kba": "<string>",
"manufacturer_name": "<string>",
"model_name": "<string>",
"sub_model_name": "<string>",
"engine_type": "<string>",
"engine_size": "<string>",
"engine_power": "<string>",
"curb_weight": "<string>",
"gross_weight": "<string>",
"first_registration": "<string>",
"last_registration": "<string>",
"hu_au": "<string>",
"mileage": "<string>",
"engine_code": "<string>",
"country_of_origin": "<string>",
"vehicle_owner": "<string>",
"owner_phone": "<string>",
"owner_address": "<string>",
"appointment_date": "<string>",
"external_calculation": "<string>",
"express_link": "<string>",
"address": "<string>",
"zip_code": "<string>",
"city": "<string>",
"country": "<string>",
"zu_verplanen": 0,
"plate_city": "<string>",
"plate_city_phonetic": "<string>",
"remarks": "<string>",
"total_net_cost": 123,
"total_gross_cost": 123,
"insurance_json": null,
"costs_json": null
},
"message": ""
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Orders
Get order details
Retrieve detailed information for a specific order by ID, including customer, vehicle, and scheduling data.
GET
/
api
/
orders
/
{order_id}
Get order details
curl --request GET \
--url https://reit.connectors.aicoflow.com/api/orders/{order_id} \
--header 'X-API-Key: <api-key>'import requests
url = "https://reit.connectors.aicoflow.com/api/orders/{order_id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://reit.connectors.aicoflow.com/api/orders/{order_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://reit.connectors.aicoflow.com/api/orders/{order_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-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://reit.connectors.aicoflow.com/api/orders/{order_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-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://reit.connectors.aicoflow.com/api/orders/{order_id}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://reit.connectors.aicoflow.com/api/orders/{order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"order": {
"id": 123,
"short_name": "<string>",
"plate": "<string>",
"person": "<string>",
"phone": "<string>",
"email": "<string>",
"damage": "<string>",
"project_status": "<string>",
"station_id": 123,
"station_state": "<string>",
"shop_date": "<string>",
"repair_date": "<string>",
"finish_date": "<string>",
"planned_delivery_date": "<string>",
"parts_status": "<string>",
"missing_parts": 0,
"est_hours_karo": 123,
"est_hours_lack": 123,
"est_hours_mech": 123,
"vin": "<string>",
"kba": "<string>",
"manufacturer_name": "<string>",
"model_name": "<string>",
"sub_model_name": "<string>",
"engine_type": "<string>",
"engine_size": "<string>",
"engine_power": "<string>",
"curb_weight": "<string>",
"gross_weight": "<string>",
"first_registration": "<string>",
"last_registration": "<string>",
"hu_au": "<string>",
"mileage": "<string>",
"engine_code": "<string>",
"country_of_origin": "<string>",
"vehicle_owner": "<string>",
"owner_phone": "<string>",
"owner_address": "<string>",
"appointment_date": "<string>",
"external_calculation": "<string>",
"express_link": "<string>",
"address": "<string>",
"zip_code": "<string>",
"city": "<string>",
"country": "<string>",
"zu_verplanen": 0,
"plate_city": "<string>",
"plate_city_phonetic": "<string>",
"remarks": "<string>",
"total_net_cost": 123,
"total_gross_cost": 123,
"insurance_json": null,
"costs_json": null
},
"message": ""
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}⌘I