Summarize Bim Mapping Rule
Authorization
bearerAuth AuthorizationBearer <token>
Access token from POST /directory/connect/token. Scope olifyapi.
In: header
Header Parameters
Olify-Tenant-Id*string
Tenant GUID the caller is allowed to access.
Format
uuidRequest Body
BimMappingRuleSummaryRequestapplication/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
BimMappingRuleSummaryapplication/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/bim-import-profiles/rule-summary" \ -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "draftRule": {}, "scope": {} }'{ "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "includesEarlierRuleClaims": true, "eligibleSourceCount": "string", "matchingSourceCount": "string", "claimedSourceCount": "string", "groupCount": "string", "models": [ { "bimModelId": "48d4473a-d48a-4c77-bf88-9bac0594d2fd", "bimModelVersionId": "7de95a1a-3b57-4f7b-a443-6192eadf6a7b", "modelName": "string", "versionName": "string", "fileName": "string", "buildings": [ { "kind": "Building", "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5", "entityClassId": "b29c744e-f779-4216-ac53-e984614ae1c3", "name": "string", "code": "string" } ], "fingerprint": "string" } ], "samples": [ { "source": { "bimModelId": "48d4473a-d48a-4c77-bf88-9bac0594d2fd", "bimModelVersionId": "7de95a1a-3b57-4f7b-a443-6192eadf6a7b", "bimNodeId": "4115bb3c-9f14-473d-85b5-118be6e27265", "globalId": "string" }, "ordinal": "string", "winningRuleId": "1da99a50-2588-4c79-a1c3-31c88dbf078d", "winningRuleOrder": "string", "winningRuleName": "string", "originalItemKey": "20ec6750-f7b1-453c-b977-b14b48f90265", "groupKeyValues": [ { "dataType": "Text", "isCollection": true, "state": "Resolved", "value": [ [ [ null ] ] ], "unit": "string", "unitDimension": "string" } ], "ifcClass": "string", "name": "string", "destinationBuildingCode": "string", "destinationBuildingName": "string", "buildingName": "string", "storeyName": "string", "spaceName": "string", "buildingSource": { "bimModelId": "48d4473a-d48a-4c77-bf88-9bac0594d2fd", "bimModelVersionId": "7de95a1a-3b57-4f7b-a443-6192eadf6a7b", "bimNodeId": "4115bb3c-9f14-473d-85b5-118be6e27265", "globalId": "string" }, "storeySource": { "bimModelId": "48d4473a-d48a-4c77-bf88-9bac0594d2fd", "bimModelVersionId": "7de95a1a-3b57-4f7b-a443-6192eadf6a7b", "bimNodeId": "4115bb3c-9f14-473d-85b5-118be6e27265", "globalId": "string" }, "spaceSource": { "bimModelId": "48d4473a-d48a-4c77-bf88-9bac0594d2fd", "bimModelVersionId": "7de95a1a-3b57-4f7b-a443-6192eadf6a7b", "bimNodeId": "4115bb3c-9f14-473d-85b5-118be6e27265", "globalId": "string" }, "values": [ { "field": { "kind": "Attribute", "pathSegments": [ "string" ], "relation": "Building" }, "value": { "dataType": "Text", "isCollection": true, "state": "Resolved", "value": [ [ [ null ] ] ], "unit": "string", "unitDimension": "string" }, "resolvedFrom": { "bimModelId": "48d4473a-d48a-4c77-bf88-9bac0594d2fd", "bimModelVersionId": "7de95a1a-3b57-4f7b-a443-6192eadf6a7b", "bimNodeId": "4115bb3c-9f14-473d-85b5-118be6e27265", "globalId": "string" } } ], "currentLink": { "source": { "bimModelId": "48d4473a-d48a-4c77-bf88-9bac0594d2fd", "bimModelVersionId": "7de95a1a-3b57-4f7b-a443-6192eadf6a7b", "bimNodeId": "4115bb3c-9f14-473d-85b5-118be6e27265", "globalId": "string" }, "exists": true, "restricted": true, "linkId": "009f739c-6620-43b0-978e-b245e723c57a", "entityClassId": "b29c744e-f779-4216-ac53-e984614ae1c3", "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5", "fingerprint": "string" }, "requiresNewLink": true, "sourceFingerprint": "string", "restricted": true } ], "issues": [ { "reason": "None", "severity": "Warning", "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac", "originalItemKey": "20ec6750-f7b1-453c-b977-b14b48f90265", "relatedRuleIds": [ "b587541e-a129-4edd-aec6-fe5113062a1c" ], "targetField": { "kind": "Native", "nativeFieldKey": "string", "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb", "facilityRoleId": "a56a2ecb-8d44-46c5-8e56-db7a68f053cf" }, "sourceField": { "kind": "Attribute", "pathSegments": [ "string" ], "relation": "Building" }, "definitionPath": "string", "messageTranslationKey": "string" } ]}