API referenceMaintenance Check
Mark Inspected
Mark a stock part inspected, or record a custom inspection on a work order. Resets that part's due usage and resolves open issues linked to that part. App connections need the booking:write or inventory:write scope.
POST
/maintenance-checkcurl -X POST "https://dash.lockii.app/api/v1/maintenance-check" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"maintainedElementID": "string",
"maintenanceID": "string",
"note": "string",
"photoImageIDs": [
"string"
],
"title": "string"
}'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.
Body
application/json
maintainedElementIDstringStock part ID to mark inspected
maintenanceIDstring | nullWork order to attach the inspection to
notestringphotoImageIDsstring[]titlestringCustom inspection title when no part
Response
application/json
JSON result for this operation.
object
{}