Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit 7263bd5

Browse files
committed
MINOR: 2d positioning (#471)
* filter storey models with permissions * rework storey serializer * add positioning plan to m2m (storey-plan) * add route with params id and positioning route renaming * include positioning in storey serializer * fix tests
1 parent 2141041 commit 7263bd5

16 files changed

Lines changed: 880 additions & 70 deletions

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Class | Method | HTTP request | Description
319319
*bimdata.IfcApi* | [**createPropertySetElementRelations**](docs/IfcApi.md#createPropertySetElementRelations) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset-element | Create association between PropertySet and element
320320
*bimdata.IfcApi* | [**createRawElements**](docs/IfcApi.md#createRawElements) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/element/raw | Create elements in an optimized format
321321
*bimdata.IfcApi* | [**createSpace**](docs/IfcApi.md#createSpace) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space | Create a space in the model
322-
*bimdata.IfcApi* | [**createStoreyPlan**](docs/IfcApi.md#createStoreyPlan) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/add | Create a 2d model in storey
322+
*bimdata.IfcApi* | [**createStoreyPlan**](docs/IfcApi.md#createStoreyPlan) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/add | Create a relation between a 2d model and a storey
323323
*bimdata.IfcApi* | [**createSystem**](docs/IfcApi.md#createSystem) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system | Create a system in the model
324324
*bimdata.IfcApi* | [**createZone**](docs/IfcApi.md#createZone) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone | Create a zone in the model
325325
*bimdata.IfcApi* | [**createZoneSpace**](docs/IfcApi.md#createZoneSpace) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space | Create a space in a zone
@@ -334,7 +334,7 @@ Class | Method | HTTP request | Description
334334
*bimdata.IfcApi* | [**deletePropertySet**](docs/IfcApi.md#deletePropertySet) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Delete a PropertySet of a model
335335
*bimdata.IfcApi* | [**deleteSpace**](docs/IfcApi.md#deleteSpace) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space/{id} | Delete a space
336336
*bimdata.IfcApi* | [**deleteStorey**](docs/IfcApi.md#deleteStorey) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{id} | Delete a storey of a model
337-
*bimdata.IfcApi* | [**deleteStoreyPlan**](docs/IfcApi.md#deleteStoreyPlan) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/delete | Delete a 2d model
337+
*bimdata.IfcApi* | [**deleteStoreyPlan**](docs/IfcApi.md#deleteStoreyPlan) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id} | Delete the relation between a 2d model and a storey
338338
*bimdata.IfcApi* | [**deleteSystem**](docs/IfcApi.md#deleteSystem) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system/{uuid} | Delete a system of a model
339339
*bimdata.IfcApi* | [**deleteZone**](docs/IfcApi.md#deleteZone) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{id} | Delete a zone of a model
340340
*bimdata.IfcApi* | [**deleteZoneSpace**](docs/IfcApi.md#deleteZoneSpace) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space/{id} | Delete a space of a zone
@@ -374,6 +374,7 @@ Class | Method | HTTP request | Description
374374
*bimdata.IfcApi* | [**getMaterials**](docs/IfcApi.md#getMaterials) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/element/{element_uuid}/material | Retrieve all materials of a model
375375
*bimdata.IfcApi* | [**getModelStorey**](docs/IfcApi.md#getModelStorey) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{id} | Retrieve a storey of a model
376376
*bimdata.IfcApi* | [**getModelStoreys**](docs/IfcApi.md#getModelStoreys) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey | Retrieve all storeys of a model
377+
*bimdata.IfcApi* | [**getPlanPositioning**](docs/IfcApi.md#getPlanPositioning) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/positioning | Retrieve the postioning of the plan in the storey
377378
*bimdata.IfcApi* | [**getProcessorHandler**](docs/IfcApi.md#getProcessorHandler) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler/{id} | Retrieve a processor handler
378379
*bimdata.IfcApi* | [**getProcessorHandlers**](docs/IfcApi.md#getProcessorHandlers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler | Get all processor handlers
379380
*bimdata.IfcApi* | [**getPropertySet**](docs/IfcApi.md#getPropertySet) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Retrieve a PropertySet of a model
@@ -411,6 +412,7 @@ Class | Method | HTTP request | Description
411412
*bimdata.IfcApi* | [**updateIfcPropertyDefinition**](docs/IfcApi.md#updateIfcPropertyDefinition) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertydefinition/{id} | Update some fields of many PropertyDefinitions of a model
412413
*bimdata.IfcApi* | [**updateIfcUnit**](docs/IfcApi.md#updateIfcUnit) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/unit/{id} | Update some fields of a Unit of a model
413414
*bimdata.IfcApi* | [**updateLayer**](docs/IfcApi.md#updateLayer) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/layer/{id} | Update some fields of a layer
415+
*bimdata.IfcApi* | [**updatePlanPositioning**](docs/IfcApi.md#updatePlanPositioning) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/positioning | Update the postioning of the plan in the storey
414416
*bimdata.IfcApi* | [**updateProcessorHandler**](docs/IfcApi.md#updateProcessorHandler) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler/{id} | Update the status of a processor handler
415417
*bimdata.IfcApi* | [**updatePropertySet**](docs/IfcApi.md#updatePropertySet) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Update some fields of a PropertySet
416418
*bimdata.IfcApi* | [**updateSpace**](docs/IfcApi.md#updateSpace) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space/{id} | Update some fields of a space
@@ -474,6 +476,7 @@ Class | Method | HTTP request | Description
474476
- [bimdata.InlineObject1](docs/InlineObject1.md)
475477
- [bimdata.InlineObject2](docs/InlineObject2.md)
476478
- [bimdata.InlineObject3](docs/InlineObject3.md)
479+
- [bimdata.InlineObject4](docs/InlineObject4.md)
477480
- [bimdata.InlineResponse200](docs/InlineResponse200.md)
478481
- [bimdata.InlineResponse2001](docs/InlineResponse2001.md)
479482
- [bimdata.Invitation](docs/Invitation.md)
@@ -486,10 +489,12 @@ Class | Method | HTTP request | Description
486489
- [bimdata.Material](docs/Material.md)
487490
- [bimdata.MaterialListComponent](docs/MaterialListComponent.md)
488491
- [bimdata.MaterialOption](docs/MaterialOption.md)
492+
- [bimdata.ModelWithPositioningPlan](docs/ModelWithPositioningPlan.md)
489493
- [bimdata.Organization](docs/Organization.md)
490494
- [bimdata.OrthogonalCamera](docs/OrthogonalCamera.md)
491495
- [bimdata.PerspectiveCamera](docs/PerspectiveCamera.md)
492496
- [bimdata.Point](docs/Point.md)
497+
- [bimdata.PositioningPlan](docs/PositioningPlan.md)
493498
- [bimdata.Priority](docs/Priority.md)
494499
- [bimdata.ProcessorHandler](docs/ProcessorHandler.md)
495500
- [bimdata.Project](docs/Project.md)

docs/IfcApi.md

Lines changed: 143 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Method | HTTP request | Description
3434
[**createPropertySetElementRelations**](IfcApi.md#createPropertySetElementRelations) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset-element | Create association between PropertySet and element
3535
[**createRawElements**](IfcApi.md#createRawElements) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/element/raw | Create elements in an optimized format
3636
[**createSpace**](IfcApi.md#createSpace) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space | Create a space in the model
37-
[**createStoreyPlan**](IfcApi.md#createStoreyPlan) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/add | Create a 2d model in storey
37+
[**createStoreyPlan**](IfcApi.md#createStoreyPlan) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/add | Create a relation between a 2d model and a storey
3838
[**createSystem**](IfcApi.md#createSystem) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system | Create a system in the model
3939
[**createZone**](IfcApi.md#createZone) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone | Create a zone in the model
4040
[**createZoneSpace**](IfcApi.md#createZoneSpace) | **POST** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space | Create a space in a zone
@@ -49,7 +49,7 @@ Method | HTTP request | Description
4949
[**deletePropertySet**](IfcApi.md#deletePropertySet) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Delete a PropertySet of a model
5050
[**deleteSpace**](IfcApi.md#deleteSpace) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space/{id} | Delete a space
5151
[**deleteStorey**](IfcApi.md#deleteStorey) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{id} | Delete a storey of a model
52-
[**deleteStoreyPlan**](IfcApi.md#deleteStoreyPlan) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/delete | Delete a 2d model
52+
[**deleteStoreyPlan**](IfcApi.md#deleteStoreyPlan) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id} | Delete the relation between a 2d model and a storey
5353
[**deleteSystem**](IfcApi.md#deleteSystem) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/system/{uuid} | Delete a system of a model
5454
[**deleteZone**](IfcApi.md#deleteZone) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{id} | Delete a zone of a model
5555
[**deleteZoneSpace**](IfcApi.md#deleteZoneSpace) | **DELETE** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/zone/{zone_pk}/space/{id} | Delete a space of a zone
@@ -89,6 +89,7 @@ Method | HTTP request | Description
8989
[**getMaterials**](IfcApi.md#getMaterials) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/element/{element_uuid}/material | Retrieve all materials of a model
9090
[**getModelStorey**](IfcApi.md#getModelStorey) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{id} | Retrieve a storey of a model
9191
[**getModelStoreys**](IfcApi.md#getModelStoreys) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey | Retrieve all storeys of a model
92+
[**getPlanPositioning**](IfcApi.md#getPlanPositioning) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/positioning | Retrieve the postioning of the plan in the storey
9293
[**getProcessorHandler**](IfcApi.md#getProcessorHandler) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler/{id} | Retrieve a processor handler
9394
[**getProcessorHandlers**](IfcApi.md#getProcessorHandlers) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler | Get all processor handlers
9495
[**getPropertySet**](IfcApi.md#getPropertySet) | **GET** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Retrieve a PropertySet of a model
@@ -126,6 +127,7 @@ Method | HTTP request | Description
126127
[**updateIfcPropertyDefinition**](IfcApi.md#updateIfcPropertyDefinition) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertydefinition/{id} | Update some fields of many PropertyDefinitions of a model
127128
[**updateIfcUnit**](IfcApi.md#updateIfcUnit) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/unit/{id} | Update some fields of a Unit of a model
128129
[**updateLayer**](IfcApi.md#updateLayer) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/layer/{id} | Update some fields of a layer
130+
[**updatePlanPositioning**](IfcApi.md#updatePlanPositioning) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/storey/{storey_pk}/plan/{id}/positioning | Update the postioning of the plan in the storey
129131
[**updateProcessorHandler**](IfcApi.md#updateProcessorHandler) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/processorhandler/{id} | Update the status of a processor handler
130132
[**updatePropertySet**](IfcApi.md#updatePropertySet) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/propertyset/{id} | Update some fields of a PropertySet
131133
[**updateSpace**](IfcApi.md#updateSpace) | **PATCH** /cloud/{cloud_pk}/project/{project_pk}/ifc/{ifc_pk}/space/{id} | Update some fields of a space
@@ -2020,11 +2022,11 @@ Name | Type | Description | Notes
20202022

20212023
## createStoreyPlan
20222024

2023-
> Storey createStoreyPlan(cloudPk, id, ifcPk, projectPk, storeyPk)
2025+
> Storey createStoreyPlan(cloudPk, ifcPk, projectPk, storeyPk, data)
20242026
2025-
Create a 2d model in storey
2027+
Create a relation between a 2d model and a storey
20262028

2027-
Create a 2d model in storey. The model type must be one of : ('DWG', 'DXF', 'PDF', 'JPEG', 'PNG') Required scopes: ifc:write
2029+
Create a relation between a 2d model and a storey. The model type must be one of : ('DWG', 'DXF', 'PDF', 'JPEG', 'PNG') Required scopes: ifc:write
20282030

20292031
### Example
20302032

@@ -2045,11 +2047,11 @@ client_credentials.accessToken = 'YOUR ACCESS TOKEN';
20452047

20462048
let apiInstance = new bimdata.IfcApi();
20472049
let cloudPk = "cloudPk_example"; // String |
2048-
let id = 56; // Number | A unique integer value identifying this storey.
20492050
let ifcPk = "ifcPk_example"; // String |
20502051
let projectPk = "projectPk_example"; // String |
20512052
let storeyPk = "storeyPk_example"; // String |
2052-
apiInstance.createStoreyPlan(cloudPk, id, ifcPk, projectPk, storeyPk).then((data) => {
2053+
let data = new bimdata.InlineObject4(); // InlineObject4 |
2054+
apiInstance.createStoreyPlan(cloudPk, ifcPk, projectPk, storeyPk, data).then((data) => {
20532055
console.log('API called successfully. Returned data: ' + data);
20542056
}, (error) => {
20552057
console.error(error);
@@ -2063,10 +2065,10 @@ apiInstance.createStoreyPlan(cloudPk, id, ifcPk, projectPk, storeyPk).then((data
20632065
Name | Type | Description | Notes
20642066
------------- | ------------- | ------------- | -------------
20652067
**cloudPk** | **String**| |
2066-
**id** | **Number**| A unique integer value identifying this storey. |
20672068
**ifcPk** | **String**| |
20682069
**projectPk** | **String**| |
20692070
**storeyPk** | **String**| |
2071+
**data** | [**InlineObject4**](InlineObject4.md)| |
20702072

20712073
### Return type
20722074

@@ -2078,7 +2080,7 @@ Name | Type | Description | Notes
20782080

20792081
### HTTP request headers
20802082

2081-
- **Content-Type**: Not defined
2083+
- **Content-Type**: application/json
20822084
- **Accept**: application/json
20832085

20842086

@@ -2952,9 +2954,9 @@ null (empty response body)
29522954

29532955
> deleteStoreyPlan(cloudPk, id, ifcPk, projectPk, storeyPk)
29542956
2955-
Delete a 2d model
2957+
Delete the relation between a 2d model and a storey
29562958

2957-
Delete a 2D model Required scopes: ifc:write
2959+
Delete the relation between a 2d model and a storey Required scopes: ifc:write
29582960

29592961
### Example
29602962

@@ -5466,6 +5468,70 @@ Name | Type | Description | Notes
54665468
- **Accept**: application/json
54675469

54685470

5471+
## getPlanPositioning
5472+
5473+
> PositioningPlan getPlanPositioning(cloudPk, id, ifcPk, projectPk, storeyPk)
5474+
5475+
Retrieve the postioning of the plan in the storey
5476+
5477+
Retrieve the postioning of the plan in the storey Required scopes: ifc:read
5478+
5479+
### Example
5480+
5481+
```javascript
5482+
import bimdata from '@bimdata/bimdata-api-client';
5483+
let defaultClient = bimdata.ApiClient.instance;
5484+
// Configure API key authorization: Bearer
5485+
let Bearer = defaultClient.authentications['Bearer'];
5486+
Bearer.apiKey = 'YOUR API KEY';
5487+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
5488+
//Bearer.apiKeyPrefix = 'Token';
5489+
// Configure OAuth2 access token for authorization: bimdata_connect
5490+
let bimdata_connect = defaultClient.authentications['bimdata_connect'];
5491+
bimdata_connect.accessToken = 'YOUR ACCESS TOKEN';
5492+
// Configure OAuth2 access token for authorization: client_credentials
5493+
let client_credentials = defaultClient.authentications['client_credentials'];
5494+
client_credentials.accessToken = 'YOUR ACCESS TOKEN';
5495+
5496+
let apiInstance = new bimdata.IfcApi();
5497+
let cloudPk = "cloudPk_example"; // String |
5498+
let id = 56; // Number | A unique integer value identifying this storey.
5499+
let ifcPk = "ifcPk_example"; // String |
5500+
let projectPk = "projectPk_example"; // String |
5501+
let storeyPk = "storeyPk_example"; // String |
5502+
apiInstance.getPlanPositioning(cloudPk, id, ifcPk, projectPk, storeyPk).then((data) => {
5503+
console.log('API called successfully. Returned data: ' + data);
5504+
}, (error) => {
5505+
console.error(error);
5506+
});
5507+
5508+
```
5509+
5510+
### Parameters
5511+
5512+
5513+
Name | Type | Description | Notes
5514+
------------- | ------------- | ------------- | -------------
5515+
**cloudPk** | **String**| |
5516+
**id** | **Number**| A unique integer value identifying this storey. |
5517+
**ifcPk** | **String**| |
5518+
**projectPk** | **String**| |
5519+
**storeyPk** | **String**| |
5520+
5521+
### Return type
5522+
5523+
[**PositioningPlan**](PositioningPlan.md)
5524+
5525+
### Authorization
5526+
5527+
[Bearer](../README.md#Bearer), [bimdata_connect](../README.md#bimdata_connect), [client_credentials](../README.md#client_credentials)
5528+
5529+
### HTTP request headers
5530+
5531+
- **Content-Type**: Not defined
5532+
- **Accept**: application/json
5533+
5534+
54695535
## getProcessorHandler
54705536

54715537
> ProcessorHandler getProcessorHandler(cloudPk, id, ifcPk, projectPk)
@@ -7824,6 +7890,72 @@ Name | Type | Description | Notes
78247890
- **Accept**: application/json
78257891

78267892

7893+
## updatePlanPositioning
7894+
7895+
> PositioningPlan updatePlanPositioning(cloudPk, id, ifcPk, projectPk, storeyPk, data)
7896+
7897+
Update the postioning of the plan in the storey
7898+
7899+
Update the postioning of the plan in the storey Required scopes: ifc:write
7900+
7901+
### Example
7902+
7903+
```javascript
7904+
import bimdata from '@bimdata/bimdata-api-client';
7905+
let defaultClient = bimdata.ApiClient.instance;
7906+
// Configure API key authorization: Bearer
7907+
let Bearer = defaultClient.authentications['Bearer'];
7908+
Bearer.apiKey = 'YOUR API KEY';
7909+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
7910+
//Bearer.apiKeyPrefix = 'Token';
7911+
// Configure OAuth2 access token for authorization: bimdata_connect
7912+
let bimdata_connect = defaultClient.authentications['bimdata_connect'];
7913+
bimdata_connect.accessToken = 'YOUR ACCESS TOKEN';
7914+
// Configure OAuth2 access token for authorization: client_credentials
7915+
let client_credentials = defaultClient.authentications['client_credentials'];
7916+
client_credentials.accessToken = 'YOUR ACCESS TOKEN';
7917+
7918+
let apiInstance = new bimdata.IfcApi();
7919+
let cloudPk = "cloudPk_example"; // String |
7920+
let id = 56; // Number | A unique integer value identifying this storey.
7921+
let ifcPk = "ifcPk_example"; // String |
7922+
let projectPk = "projectPk_example"; // String |
7923+
let storeyPk = "storeyPk_example"; // String |
7924+
let data = new bimdata.PositioningPlan(); // PositioningPlan |
7925+
apiInstance.updatePlanPositioning(cloudPk, id, ifcPk, projectPk, storeyPk, data).then((data) => {
7926+
console.log('API called successfully. Returned data: ' + data);
7927+
}, (error) => {
7928+
console.error(error);
7929+
});
7930+
7931+
```
7932+
7933+
### Parameters
7934+
7935+
7936+
Name | Type | Description | Notes
7937+
------------- | ------------- | ------------- | -------------
7938+
**cloudPk** | **String**| |
7939+
**id** | **Number**| A unique integer value identifying this storey. |
7940+
**ifcPk** | **String**| |
7941+
**projectPk** | **String**| |
7942+
**storeyPk** | **String**| |
7943+
**data** | [**PositioningPlan**](PositioningPlan.md)| |
7944+
7945+
### Return type
7946+
7947+
[**PositioningPlan**](PositioningPlan.md)
7948+
7949+
### Authorization
7950+
7951+
[Bearer](../README.md#Bearer), [bimdata_connect](../README.md#bimdata_connect), [client_credentials](../README.md#client_credentials)
7952+
7953+
### HTTP request headers
7954+
7955+
- **Content-Type**: application/json
7956+
- **Accept**: application/json
7957+
7958+
78277959
## updateProcessorHandler
78287960

78297961
> ProcessorHandler updateProcessorHandler(cloudPk, id, ifcPk, projectPk, data)

docs/InlineObject4.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# bimdata.InlineObject4
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **Number** | model id | [optional]
8+
9+

0 commit comments

Comments
 (0)