List equipment
List equipment for the manufacturer or current custodian.
Requires asset:read. The list includes a row when X-Organization-Id is manufacturerId or custodianId. Another tenant’s equipment is omitted, not returned as an error.
1. Request URL
GET https://api.medicaltrace.net/v1/equipment
2. Request parameters
| Parameter | In | Required | Type | Description |
|---|---|---|---|---|
Authorization | header | Yes | string | Bearer token from POST /auth/login. The sample value demo.local.jwt is a placeholder. |
X-Organization-Id | header | Yes | string | Demo Manufacturer, or the current custodian. |
3. Request example
curl -s -X GET 'https://api.medicaltrace.net/v1/equipment' \
-H 'authorization: Bearer demo.local.jwt' \
-H 'x-organization-id: 11111111-1111-4111-8111-111111111111'4. Response data
HTTP 200. The body below uses the fictional DEMO-BED-001 fixtures.
[
{
"id": "44444444-4444-4444-8444-444444444444",
"manufacturerId": "11111111-1111-4111-8111-111111111111",
"custodianId": "11111111-1111-4111-8111-111111111111",
"category": "hospital_bed",
"model": "DemoBed 100",
"serialNumber": "SN-DEMO-001",
"passportId": "ppt_demo_bed_001",
"custodyVersion": 1,
"lifecycleStatus": "ACTIVE",
"publicFields": {
"category": "hospital_bed",
"model": "DemoBed 100"
}
}
]5. Response fields
| Field | Type | Description | Example |
|---|---|---|---|
[].id | string | Equipment id used on later routes. | 44444444-4444-4444-8444-444444444444 |
[].manufacturerId | string | Registering organization. This value stays put after custody moves. | 11111111-1111-4111-8111-111111111111 |
[].custodianId | string | Organization that currently holds recorded custody. | 11111111-1111-4111-8111-111111111111 |
[].serialNumber | string | Manufacturer serial. Unique per manufacturer. | SN-DEMO-001 |
[].passportId | string | Public passport id. Not a regulatory identifier. | ppt_demo_bed_001 |
[].custodyVersion | number | Increments when a transfer is accepted. | 1 |