Overview
Shipments
Deliveries
Handling units
Materials
Temperature ranges
Delivery items
Link sensor
POST
/
handling-units
/
{id}
/
sensor-link
curl --request POST \
--url https://api.truecold.io/v1/handling-units/{id}/sensor-link \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"sensor_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047"
}'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"sensor_id": "<string>",
"handling_unit_id": "<string>",
"delivery_id": "<string>",
"shipment_id": "<string>",
"scope": "<string>",
"status": "<string>"
}
}
Authorizations
Path Parameters
UUID of the handling unit
Example:
"382bc9c0-6a3b-4255-97f4-98e91ceab047"
Body
application/json
Response
200
application/json
The response is of type object
.
curl --request POST \
--url https://api.truecold.io/v1/handling-units/{id}/sensor-link \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"sensor_id": "382bc9c0-6a3b-4255-97f4-98e91ceab047"
}'
{
"error": false,
"data": {
"id": "<string>",
"created_at": "<string>",
"sensor_id": "<string>",
"handling_unit_id": "<string>",
"delivery_id": "<string>",
"shipment_id": "<string>",
"scope": "<string>",
"status": "<string>"
}
}