- Сделать updateContext и replaceOffer с мержем только по переданным объектам
- переписывать только по переданным путям в map
- перезаписывать полностью с нуля переданный array
- игорировать undefined поля и не игнорировать а перезаписывать null поля
- Добавить лок всех операций над контекстом на уровне reportID (id контекста)
- Отдельно кастомизировать мерж массива corrections в виде corrections: [{hid: "hid123", a: {b: {c: 'value'}}]
- Добавить поле comparableHID
- Добавить поле filter
- Добавить поле registryBackUrl
- Добавить поле версии в context и в offer
- при добавлении/удалении hid в favoriteIDs так же удалять/добавлять hid из favoriteIDsRemoved
- после того как будет протестирован comparableHID удалить comparable
- не позвращать в getContext поля которые null, undefined, [] и {}
- вырезать из ответа getContext поля корректировок и comparable
- Если версия контекста или offer не совпадают на запись и то что в базе, возвращать в ответ флаг что было паралельное редактирование.
- Возвращать в ответ версию контекста и оффера в методе updateContext и replaceOffer
- Удалить environment когда будут протестированны новые поля
- Синхронизировать методы по добавлению и удалению hid из addedOfferIDs в context и объекты в массиве corrections
Last active
December 6, 2017 11:03
-
-
Save pioh/11f9b0201b294252bea33f819fd89e3b to your computer and use it in GitHub Desktop.
MergeContext
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "reportId": "202", | |
| "favoriteIDs": [ | |
| "8a24a912904ab5730ed21ec8f924e4af3c00956b" | |
| ], | |
| "addedOfferIDs": [ | |
| "8a24a912904ab5730ed21ec8f924e4af3c00956b", | |
| ], | |
| "environment": "{\"registryBackUrl\":\"https://duo.test.srg-it.ru/9r/rbRequests?pageNumber=0&offset=0&pageSize=100&sort=%5B%7Bdirection%3DDESC,%20property%3DlastUpdate,%20ignoreCase%3Dfalse,%20nullHandling%3DNATIVE,%20ascending%3Dfalse%7D%5D\",\"filter\":{\"type\":[\"COMMERCIAL\"],\"marketType\":[\"RENT\"],\"realtyType\":[\"OFFICE_COMMERCIAL\"],\"price\":{},\"date\":{\"from\":\"02.12.2017\",\"to\":null},\"sources\":[\"realtyDmirCommercial\"],\"space\":{},\"entryType\":[],\"floor\":{},\"floorHint\":{},\"storeys\":{},\"buildingClass\":[],\"rooms\":{},\"contractType\":[],\"line\":[],\"include\":[],\"exclude\":[],\"walls\":[],\"living\":{},\"kitchen\":{},\"pricePerMeter\":{},\"cosmeticCondition\":[],\"repairs\":[]},\"favoriteIDsRemoved\":{\"299b70d44040ffa4a7eac64a93d7ac98435cb146\":true,\"2c0e32534c9581642535fec275e07c041ed10848\":true}}", | |
| "modified": "2017-12-06T08:23:04", | |
| "created": "2017-11-30T11:09:08", | |
| "comparable": { | |
| "realtyType": "OFFICE_COMMERCIAL", | |
| "id": null, | |
| "hid": "3e6104da16b537c657f311759c065400ef38ff32", | |
| "parentHid": null, | |
| "title": null, | |
| "cityId": null, | |
| "regionOblastId": null, | |
| "administrativeRegion": null, | |
| "streetId": null, | |
| "district": null, | |
| "subDistrict": null, | |
| "rawAddress": "г Москва, пр-кт Академика Сахарова, д 9", | |
| "fullAddress": "г Москва, пр-кт Академика Сахарова, д 9", | |
| "houseNumber": null, | |
| "rooms": null, | |
| "total": 1550, | |
| "repairs": null, | |
| "floor": null, | |
| "walls": "kirpich", | |
| "storeys": null, | |
| "built": null, | |
| "plan": null, | |
| "currency": null, | |
| "price": null, | |
| "priceType": null, | |
| "currencyPrice": null, | |
| "pricePerMeter": null, | |
| "currencyPricePerMeter": null, | |
| "flooring": null, | |
| "ceilingHeight": null, | |
| "published": null, | |
| "lastSourceUpdate": null, | |
| "markNoticed": null, | |
| "techInfo": { | |
| "downloadedDate": null, | |
| "parsingDate": null, | |
| "posInFile": 0, | |
| "noticedHistory": [], | |
| "originalHid": null, | |
| "prevHistoryHid": null, | |
| "nextHistoryHid": null | |
| }, | |
| "info": null, | |
| "internet": null, | |
| "contactDetails": null, | |
| "url": "https://duo.test.srg-it.ru/9r/rbRequest/office/202", | |
| "lastUpdate": "2017-12-05T12:33:35", | |
| "referenceId": null, | |
| "geoData": { | |
| "id": null, | |
| "streetId": null, | |
| "houseNumber": null, | |
| "latDegrees": 55.772183, | |
| "lonDegrees": 37.644872, | |
| "lastUpdate": null, | |
| "status": null, | |
| "response": null | |
| }, | |
| "districtId": null, | |
| "photoUrls": [], | |
| "sourceName": null, | |
| "contractType": null, | |
| "landSpace": null, | |
| "flags": [], | |
| "secondarySources": null, | |
| "commercialRealtySubType": "OTHER_OFFICE", | |
| "transferableOwnershipRights": null, | |
| "encumberancesAndLimitations": null, | |
| "highwayNearby": null, | |
| "transportAccessibility": null, | |
| "fencedArea": null, | |
| "line": 1, | |
| "mainEntranceBuildingsLine": null, | |
| "surroundingAreaUsageType": null, | |
| "trafficIntencity": null, | |
| "tradeCorridor": null, | |
| "buildingType": null, | |
| "buildingClass": "C", | |
| "cosmeticCondition": null, | |
| "repairsDetails": { | |
| "OFFICE_COMMERCIAL": { | |
| "unit": "SQUARE_METERS", | |
| "detailsMap": { | |
| "NEEDS_COSMETIC": 0, | |
| "WITHOUT_REPAIR": 0, | |
| "NEEDS_CAPITAL": 0, | |
| "GOOD": 1550 | |
| } | |
| }, | |
| "WAREHOUSE_COMMERCIAL": { | |
| "unit": "SQUARE_METERS", | |
| "detailsMap": { | |
| "NEEDS_COSMETIC": 0, | |
| "WITHOUT_REPAIR": 0, | |
| "NEEDS_CAPITAL": 0, | |
| "GOOD": 0 | |
| } | |
| }, | |
| "TRADE_COMMERCIAL": { | |
| "unit": "SQUARE_METERS", | |
| "detailsMap": { | |
| "NEEDS_COSMETIC": 0, | |
| "WITHOUT_REPAIR": 0, | |
| "NEEDS_CAPITAL": 0, | |
| "GOOD": 0 | |
| } | |
| } | |
| }, | |
| "floorDetails": { | |
| "OFFICE_COMMERCIAL": { | |
| "unit": "SQUARE_METERS", | |
| "detailsMap": { | |
| "1": 496, | |
| "2": 945.5, | |
| "-101": 0, | |
| "-100": 108.5 | |
| } | |
| } | |
| }, | |
| "realtyTypeSpaceDetails": { | |
| "OFFICE_COMMERCIAL": { | |
| "unit": "SQUARE_METERS", | |
| "detailsMap": { | |
| "OFFICE_COMMERCIAL": 1550 | |
| } | |
| }, | |
| "WAREHOUSE_COMMERCIAL": { | |
| "unit": "SQUARE_METERS", | |
| "detailsMap": { | |
| "WAREHOUSE_COMMERCIAL": 0 | |
| } | |
| }, | |
| "TRADE_COMMERCIAL": { | |
| "unit": "SQUARE_METERS", | |
| "detailsMap": { | |
| "TRADE_COMMERCIAL": 0 | |
| } | |
| } | |
| }, | |
| "plannedCompletionDate": null, | |
| "constructionCompletionStage": null, | |
| "floorConstructionMaterial": null, | |
| "undergroundSpace": 0, | |
| "basementSpace": 108.5, | |
| "groundFloorSpace": 496, | |
| "aboveGroundFloorSpace": 945.5, | |
| "separateEntrance": null, | |
| "eurotruckLoadingDock": null, | |
| "railroadAccess": null, | |
| "cargoMovers": null, | |
| "usableCeilingHeight": null, | |
| "windows": null, | |
| "shopWindow": null, | |
| "officeZoningType": null, | |
| "leasableSpace": null, | |
| "officeSpace": null, | |
| "shopSpace": null, | |
| "storageSpace": null, | |
| "publicAndUtilitySpace": null, | |
| "nonHeatedStorageSpace": 0, | |
| "heatedStorageSpace": 1550, | |
| "freezerStorageSpace": null, | |
| "freezer": null, | |
| "electricity": null, | |
| "kvtElectricity": null, | |
| "waterSupply": null, | |
| "gas": null, | |
| "heating": null, | |
| "sewerage": null, | |
| "airConditioning": null, | |
| "parking": true, | |
| "numParkingSpaces": null, | |
| "controlSystem": null, | |
| "objectAccess": "PUBLIC", | |
| "security": null, | |
| "phoneLine": null, | |
| "extraAssets": null, | |
| "currentUsage": null, | |
| "allowedDiscount": null, | |
| "additionalComments": null, | |
| "furniture": null, | |
| "utilitiesCosts": null, | |
| "utilitiesCostsOrig": null, | |
| "operatingCosts": null, | |
| "operatingCostsOrig": null, | |
| "marketType": null, | |
| "marketActivity": "ACTIVE", | |
| "entryType": null, | |
| "verificationStatus": null, | |
| "additionalDetails": null, | |
| "utilitiesAndMaintenance": null, | |
| "includeUtilities": false, | |
| "includeMaintenance": null, | |
| "rentWithoutNds": null, | |
| "finalRentWithoutNds": null, | |
| "population": null, | |
| "rentalRateStructure": null, | |
| "localityStatus": "REGIONAL_CENTER", | |
| "locationWithinLocality": "CULTURAL_AND_HISTORICAL_CENTER", | |
| "ndsIncluded": null, | |
| "sectorCoating": null, | |
| "relief": null, | |
| "landClass": null, | |
| "landPropertyRights": null, | |
| "commercialLandCategory": null, | |
| "landPermittedUseType": null, | |
| "roadAccess": null, | |
| "location": null, | |
| "reportIds": [ | |
| "202" | |
| ] | |
| }, | |
| "corrections": [ | |
| { | |
| "hid": "9093f9edead454c094eb61cd178ee0e6d53d40d5", | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": { | |
| "comment": "", | |
| "value": 32, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": { | |
| "comment": "", | |
| "value": -5.8, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": null, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "Описание ценообразующего параметра", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| }, | |
| { | |
| "hid": "5b04ffeb4cc4309a2ea80baf55a63f287fe7a0d6", | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": { | |
| "comment": "", | |
| "value": -5.8, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": null, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "Описание ценообразующего параметра", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| }, | |
| { | |
| "hid": "255e90d36bd6b4b9138ba9a1e886705a2bcd1ae5", | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": { | |
| "comment": "", | |
| "value": -5.8, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": null, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": null, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "Описание ценообразующего параметра", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| }, | |
| { | |
| "hid": "02feea2fe34273ae16542e6e72ba0bfe264ab66e", | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": null, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": null, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": { | |
| "comment": "", | |
| "value": 11, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| }, | |
| { | |
| "hid": "73bc07dcd5c36fd01e76d14aca55d130e5aeee0b", | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": null, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": null, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": { | |
| "comment": "", | |
| "value": 11, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| }, | |
| { | |
| "hid": "172bab90ce5a44c0cf6391e0e485307bf76ccb7d", | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": null, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": null, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": { | |
| "comment": "", | |
| "value": 11, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| }, | |
| { | |
| "hid": "bdb1188c05e597dad7d1744bcfdfa93fb898b915", | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": null, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": null, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": { | |
| "comment": "", | |
| "value": 11, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| }, | |
| { | |
| "hid": "53866a76dd759105f3706758f37ee964601a5aa0", | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": null, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": null, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": { | |
| "comment": "", | |
| "value": 11, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| } | |
| ], | |
| "finalCorrection": { | |
| "hid": null, | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": null, | |
| "dateCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "rawAddressCorrection": { | |
| "comment": "", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "repairsCorrection": null, | |
| "parkingCorrection": null, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": { | |
| "comment": "", | |
| "value": 11, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": { | |
| "comment": "Описание ценообразующего параметра", | |
| "value": 0, | |
| "unit": "PERCENT", | |
| "using": true, | |
| "template": { | |
| "description": "Описание ценообразующего параметра", | |
| "defaultUnit": "PERCENT", | |
| "units": [ | |
| "PERCENT" | |
| ] | |
| } | |
| }, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| }, | |
| "commonCorrection": { | |
| "hid": null, | |
| "state": null, | |
| "total": null, | |
| "landSpace": null, | |
| "landSpaceConverse": null, | |
| "heating": null, | |
| "floor": null, | |
| "branchLine": null, | |
| "localityStatusCorrection": null, | |
| "locationWithinLocalityCorrection": null, | |
| "objectAccessCorrection": null, | |
| "customCorrection": null, | |
| "bargainCorrection": null, | |
| "dateCorrection": null, | |
| "rawAddressCorrection": null, | |
| "repairsCorrection": null, | |
| "parkingCorrection": null, | |
| "utilitiesCorrection": null, | |
| "maintenanceCorrection": null, | |
| "economicUnderutilizationCoefficient": null, | |
| "operatingExpenses": null, | |
| "capitalizationCoefficient": null, | |
| "lineCorrection": null, | |
| "shopWindowCorrection": null, | |
| "separateEntryCorrection": null, | |
| "trafficIntencityCorrection": null, | |
| "railroadAccessCorrection": null, | |
| "buildingClassCorrection": null, | |
| "wallsCorrection": null, | |
| "spaceCorrection": null, | |
| "additionalCorrection": null, | |
| "freezerCorrection": null, | |
| "coatingCorrection": null, | |
| "coatingConverseCorrection": null, | |
| "roadAccessCorrection": null, | |
| "reliefCorrection": null, | |
| "landPropertyRightsCorrection": null, | |
| "landPropertyRightsConverseCorrection": null, | |
| "communicationsCorrection": null, | |
| "communicationsConverseCorrection": null, | |
| "highwayNearbyCorrection": null | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "registryBackUrl": "https://duo.test.srg-it.ru/9r/rbRequests?pageNumber=0&offset=0&pageSize=100&sort=%5B%7Bdirection%3DDESC,%20property%3DlastUpdate,%20ignoreCase%3Dfalse,%20nullHandling%3DNATIVE,%20ascending%3Dfalse%7D%5D", | |
| "filter": { | |
| "type": [ | |
| "COMMERCIAL" | |
| ], | |
| "marketType": [ | |
| "RENT" | |
| ], | |
| "realtyType": [ | |
| "OFFICE_COMMERCIAL" | |
| ], | |
| "price": {}, | |
| "date": { | |
| "from": "02.12.2017", | |
| "to": null | |
| }, | |
| "sources": [ | |
| "realtyDmirCommercial" | |
| ], | |
| "space": {}, | |
| "entryType": [], | |
| "floor": {}, | |
| "floorHint": {}, | |
| "storeys": {}, | |
| "buildingClass": [], | |
| "rooms": {}, | |
| "contractType": [], | |
| "line": [], | |
| "include": [], | |
| "exclude": [], | |
| "walls": [], | |
| "living": {}, | |
| "kitchen": {}, | |
| "pricePerMeter": {}, | |
| "cosmeticCondition": [], | |
| "repairs": [] | |
| }, | |
| "favoriteIDsRemoved": { | |
| "299b70d44040ffa4a7eac64a93d7ac98435cb146": true, | |
| "2c0e32534c9581642535fec275e07c041ed10848": true | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment