Help

Get Bim Mapping Preview Item

GET
/bim-import-profiles/previews/{id}/items/{itemId}

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string
Formatuuid
itemId*string
Formatuuid

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/bim-import-profiles/previews/497f6eca-6276-4993-bfeb-53cbbbba6f08/items/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "target": {    "kind": "Building",    "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5",    "entityClassId": "b29c744e-f779-4216-ac53-e984614ae1c3",    "name": "string",    "code": "string"  },  "beforePlacement": {    "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",    "buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7",    "levelId": "a70368c7-b12e-43a9-9830-ab2485710b95",    "spaceId": "a330a273-e64a-4183-aedb-f3152797a9a5"  },  "placement": {    "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d",    "buildingId": "fee3295a-6e55-45b0-a091-7b4de7e39de7",    "levelId": "a70368c7-b12e-43a9-9830-ab2485710b95",    "spaceId": "a330a273-e64a-4183-aedb-f3152797a9a5"  },  "placementChanged": true,  "links": "string",  "restricted": true,  "fields": [    {      "field": {        "kind": "Native",        "nativeFieldKey": "string",        "extensionAttributeId": "cfe3e118-9a5a-43fd-88b3-c11687ecaccb",        "facilityRoleId": "a56a2ecb-8d44-46c5-8e56-db7a68f053cf"      },      "before": {        "dataType": "Text",        "isCollection": true,        "state": "Resolved",        "value": [          [            [              null            ]          ]        ],        "unit": "string",        "unitDimension": "string"      },      "after": {        "dataType": "Text",        "isCollection": true,        "state": "Resolved",        "value": [          [            [              null            ]          ]        ],        "unit": "string",        "unitDimension": "string"      },      "apply": true,      "changed": true,      "clear": true    }  ]}