MedicalTrace

Get equipment

Read one equipment row as manufacturer or current custodian.

Requires asset:read. If the organization is neither the manufacturer nor the current custodian, the response is 404, including when the id exists for someone else.

1. Request URL

GET https://api.medicaltrace.net/v1/equipment/44444444-4444-4444-8444-444444444444

2. Request parameters

ParameterInRequiredTypeDescription
AuthorizationheaderYesstringBearer token from POST /auth/login. The sample value demo.local.jwt is a placeholder.
X-Organization-IdheaderYesstringManufacturer or current custodian of this equipment.
idpathYesstringEquipment id.

3. Request example

curl -s -X GET 'https://api.medicaltrace.net/v1/equipment/44444444-4444-4444-8444-444444444444' \
  -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": "22222222-2222-4222-8222-222222222222",
  "category": "hospital_bed",
  "model": "DemoBed 100",
  "serialNumber": "SN-DEMO-001",
  "passportId": "ppt_demo_bed_001",
  "custodyVersion": 2,
  "lifecycleStatus": "ACTIVE",
  "publicFields": {
    "category": "hospital_bed",
    "model": "DemoBed 100"
  }
}

5. Response fields

FieldTypeDescriptionExample
manufacturerIdstringStill Demo Manufacturer after the hospital accepts custody.11111111-1111-4111-8111-111111111111
custodianIdstringDemo Hospital after acceptance.22222222-2222-4222-8222-222222222222
publicFieldsobjectFields copied onto the public passport. Registration stores category and model.hospital_bed