Nápověda

Get Bim Import Profile

GET
/bim-import-profiles/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Path Parameters

id*string
Formatuuid

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

BimImportProfile

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/bim-import-profiles/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "description": "string",  "definitionRevision": "string",  "definition": {    "schemaVersion": "string",    "spatialRules": [      {        "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac",        "name": "string",        "enabled": true,        "targetKind": "Building",        "mode": "Map",        "placementScope": "SourceDerived",        "groupingMode": "Individual",        "existingTargetPlacementPolicy": "BlockOnMismatch",        "operation": "CreateAndUpdate",        "matchStrategy": "BuildingContext",        "mergeCompatibleWrites": true,        "matchFields": [          {            "kind": "Native",            "nativeFieldKey": "string",            "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb",            "facilityRoleId": "a56a2ecb-8d44-46c5-8e56-db7a68f053cf"          }        ],        "conditions": [          {            "field": {              "kind": "Attribute",              "pathSegments": [                "string"              ],              "relation": "Building"            },            "operator": "Equals",            "values": [              {                "dataType": "Text",                "isCollection": true,                "state": "Resolved",                "value": [                  [                    [                      null                    ]                  ]                ],                "unit": "string",                "unitDimension": "string"              }            ]          }        ],        "groupKeys": [          {            "kind": "Attribute",            "pathSegments": [              "string"            ],            "relation": "Building"          }        ],        "fieldMappings": [          {            "target": {              "kind": "Native",              "nativeFieldKey": "string",              "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb",              "facilityRoleId": "a56a2ecb-8d44-46c5-8e56-db7a68f053cf"            },            "template": {              "original": "string",              "parts": [                {                  "literal": "string",                  "source": {                    "kind": "Attribute",                    "pathSegments": [                      "string"                    ],                    "relation": "Building"                  }                }              ],              "valueTranslations": [                {                  "from": "string",                  "to": "string"                }              ],              "trimWhitespace": true,              "nullValues": [                "string"              ]            },            "missingValuePolicy": "Preserve",            "explicitClear": true,            "reference": {              "mode": "Id",              "explicitValues": [                {                  "dataType": "Text",                  "isCollection": true,                  "state": "Resolved",                  "value": [                    [                      [                        null                      ]                    ]                  ],                  "unit": "string",                  "unitDimension": "string"                }              ]            },            "aggregation": "MostCommon"          }        ]      }    ],    "assetRules": [      {        "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac",        "name": "string",        "enabled": true,        "targetKind": "Building",        "mode": "Map",        "placementScope": "SourceDerived",        "groupingMode": "Individual",        "existingTargetPlacementPolicy": "BlockOnMismatch",        "operation": "CreateAndUpdate",        "matchStrategy": "BuildingContext",        "mergeCompatibleWrites": true,        "matchFields": [          {            "kind": "Native",            "nativeFieldKey": "string",            "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb",            "facilityRoleId": "a56a2ecb-8d44-46c5-8e56-db7a68f053cf"          }        ],        "conditions": [          {            "field": {              "kind": "Attribute",              "pathSegments": [                "string"              ],              "relation": "Building"            },            "operator": "Equals",            "values": [              {                "dataType": "Text",                "isCollection": true,                "state": "Resolved",                "value": [                  [                    [                      null                    ]                  ]                ],                "unit": "string",                "unitDimension": "string"              }            ]          }        ],        "groupKeys": [          {            "kind": "Attribute",            "pathSegments": [              "string"            ],            "relation": "Building"          }        ],        "fieldMappings": [          {            "target": {              "kind": "Native",              "nativeFieldKey": "string",              "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb",              "facilityRoleId": "a56a2ecb-8d44-46c5-8e56-db7a68f053cf"            },            "template": {              "original": "string",              "parts": [                {                  "literal": "string",                  "source": {                    "kind": "Attribute",                    "pathSegments": [                      "string"                    ],                    "relation": "Building"                  }                }              ],              "valueTranslations": [                {                  "from": "string",                  "to": "string"                }              ],              "trimWhitespace": true,              "nullValues": [                "string"              ]            },            "missingValuePolicy": "Preserve",            "explicitClear": true,            "reference": {              "mode": "Id",              "explicitValues": [                {                  "dataType": "Text",                  "isCollection": true,                  "state": "Resolved",                  "value": [                    [                      [                        null                      ]                    ]                  ],                  "unit": "string",                  "unitDimension": "string"                }              ]            },            "aggregation": "MostCommon"          }        ]      }    ]  },  "createdAt": "2019-08-24T14:15:22Z",  "changedAt": "2019-08-24T14:15:22Z",  "createdById": "e13e432a-5323-4484-a91d-b5969bc564d9",  "changedById": "51d5f160-b181-4064-b693-183364b6b4f7",  "lastRun": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "status": "Queued",    "createdAt": "2019-08-24T14:15:22Z"  }}