Classes
Methods
# getPropertyListFromTypeIds(typeids)
Get list of property types in a format that can be used in 'readPropertyList
Parameters:
| Name | Type | Description |
|---|---|---|
typeids |
Array.<string>
|
array
# async readPropertyList(query) → {Promise.<ApiResponse>}
Get property list from infohub. Use query to specify which objects and properties should be taken into account. For convenience, you can get the member ‘properties’ in the correct format from a list of properties by using the method getPropertyListFromTypeIds( typeids ).
Parameters:
| Name | Type | Description |
|---|---|---|
query |
*
|
= { "project_ids" : [ '... project shortid... ' , ' ... ' ], "object_ids" : [ '... object id ' , ' ... ' ], "properties" : [ { } ] } |
Promise.<ApiResponse>
# async writePropertyList(proplist) → {Promise.<ApiResponse>}
POST service_hub/
Parameters:
| Name | Type | Description |
|---|---|---|
proplist |
Object
|
= [ [ { "parent_id": "string", "object_id": "string", "object_name": "string", "object_type": "string", "properties": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" }, "properties_comments" : { "additionalProp1": "string" } } ] |
- Since:
- 27.11.2025, ar
Promise.<ApiResponse>
# async writePropertyValues(proplist)
POST /{scope}/properties/values
Parameters:
| Name | Type | Description |
|---|---|---|
proplist |
*
|
= [ { "shortid": "string", "properties": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" }, "properties_comments": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" } } ] |