Added Preorderinfrastructre Api (external patchport assignment)

This commit is contained in:
Frank Schubert
2026-02-11 15:28:57 +01:00
parent aa03f29d8f
commit e28c104a4e
6 changed files with 114 additions and 0 deletions
@@ -81,6 +81,15 @@ class ADBWohneinheit extends mfBaseModel {
return true;
}
if($hausnummer->netzgebiet->source == "citycom-oan-api") {
return true;
}
if(!preg_match('/^SDIBuilding_\d+_\d+$/', $hausnummer->rimo_id)) {
$this->log->info("[".$this->_ruid."] ".__METHOD__.": invalid rimo_id in Hausnummer ".$hausnummer->id);
return true;
}
// Get RIMO API credentials
$creds = $hausnummer->getNetownerRimoApiCredentials();
if(!$creds) {