Skip to content

BootstrapPreviewReportDto

← Monday DTO

Snapshot of what a bootstrap import would do, computed before any mutation.

Поля

ПолеТипОбязательноеОписание
workersTotalnumberда
clientsTotalnumberда
workersToInsertnumberда
workersToSkipnumberда
clientsToInsertnumberда
clientsToSkipnumberда
matchedSinglenumberда
matchedAmbiguousnumberда
matchedSoftDeletednumberда
missingRequiredFieldnumberда
loginCollisionsnumberда
loginDuplicatesInBatchnumberда
assignmentsToCreatenumberдаClients whose "zugeteilte Fee" resolves to exactly one worker with no existing assignment — a WorkerAssignment the apply will create. Preview estimate.
assignmentsToReactivatenumberдаClients whose assigned worker already has a non-InWork assignment that the apply will reactivate to InWork. Preview estimate.
assignmentsToClosenumberдаIncremental sync only: active assignments the apply will close (zugeteilte Fee cleared or changed). 0 for bootstrap import.
assignmentsAmbiguousnumberдаClients whose "zugeteilte Fee" matches more than one worker by name — left for the operator, never auto-assigned.
assignmentsUnmatchednumberдаClients whose "zugeteilte Fee" matches no worker in the import.
addressesRequestednumberда
addressesResolvednumberда
addressMissesnumberда
estimatedAddressCacheHitsnumberнетOf the addresses resolved for this preview, how many came from the geocoding cache (no Google Places call).
estimatedAddressApiCallsnumberнетAddress resolutions that needed a paid Google Places call (Autocomplete + Place Details), incl. misses. Note: this cost is spent while building the preview, not at apply.
estimatedDistancePairsnumberдаEstimated client↔worker distance pairs this import would compute (dry-run, before approve).
estimatedDistanceCacheHitsnumberдаOf estimatedDistancePairs, how many are already cached.
estimatedDistanceGoogleApiCallsnumberдаOf estimatedDistancePairs, how many would need a fresh (paid) Google Routes call.
distanceEstimateReliablebooleanдаFalse when the estimate could not be trusted (failed, or 0 pairs despite create/update work). The UI must not show the numbers as a reliable "0 Google calls" in that case.
distanceEstimatePendingbooleanнетTrue while the estimate is still being computed asynchronously (the figures above are not yet final). Poll GetSyncRequestStatus and watch estimateStage for live progress; the report is patched with the final figures when it reaches Done.
estimatedMondayApiRequestsnumberнетEstimated number of Monday API calls the apply will consume (Business→Monday writes batch ≤30 per request; Monday→Business creates read one item each). ≈0 for Import (writes to the Business layer, not Monday).
collisionsPreviewCollisionDto[]да

Пример

json
{
  "workersTotal": 0,
  "clientsTotal": 0,
  "workersToInsert": 0,
  "workersToSkip": 0,
  "clientsToInsert": 0,
  "clientsToSkip": 0,
  "matchedSingle": 0,
  "matchedAmbiguous": 0,
  "matchedSoftDeleted": 0,
  "missingRequiredField": 0,
  "loginCollisions": 0,
  "loginDuplicatesInBatch": 0,
  "assignmentsToCreate": 0,
  "assignmentsToReactivate": 0,
  "assignmentsToClose": 0,
  "assignmentsAmbiguous": 0,
  "assignmentsUnmatched": 0,
  "addressesRequested": 0,
  "addressesResolved": 0,
  "addressMisses": 0,
  "estimatedAddressCacheHits": 0,
  "estimatedAddressApiCalls": 0,
  "estimatedDistancePairs": 0,
  "estimatedDistanceCacheHits": 0,
  "estimatedDistanceGoogleApiCalls": 0,
  "distanceEstimateReliable": false,
  "distanceEstimatePending": false,
  "estimatedMondayApiRequests": 0,
  "collisions": []
}