API referenceMaintenance Part
Get Part
Get a part definition and its due-date rules. nextDueFields is what to pass as nextDue when attaching the part to a used item.
GET
/maintenance-part/{id}curl -X GET "https://dash.lockii.app/api/v1/maintenance-part/{id}" \
-H "x-api-key: $LOCKII_API_KEY"Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
idstringpathrequired
Response
application/json
JSON result for this operation.
object
{}