Updated PATCH behavior for nextMandatoryControlDue
When patching equipment, nextMandatoryControlDue is no longer cleared when the field is missing from the request payload.
New behavior:
| Payload | Result |
|---|---|
nextMandatoryControlDue not included |
Do nothing |
"nextMandatoryControlDue": null |
Do nothing |
"nextMandatoryControlDue": "2026-12-31" |
Update field to that date |
"nextMandatoryControlDue": "" |
Remove mandatory job interval |
Affected endpoints:
PATCH /v1/equipment/{equipmentId}