Rest class for configuration
Get masks of PropertyAttribute enum type as attrName, attrValue pairs.
media type | data type | description |
---|---|---|
application/json | object | The desired dictionary as JSON String Response. |
Get list of object classes in active configuration.
media type | data type | description |
---|---|---|
application/json | object | JSON Response with list of classes
Example of response:
{"values":[{"classId":"15","name":"equipment","parentId":"","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Equipment","values":[{"classId":"16","name":"ventilation","parentId":"15","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Ventilation","subClasses":false}],"subClasses":true},{"classId":"13","name":"h1_floor","parentId":"","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Plan","subClasses":false},{"classId":"14","name":"h1_space","parentId":"","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Rum","subClasses":false},{"classId":"1497","name":"org2grp","parentId":"","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Marknadsomrade","subClasses":false},{"classId":"1498","name":"org3grp","parentId":"","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Affärsomrade","subClasses":false},{"classId":"11","name":"h1_propjtte","parentId":"","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Fastighet","subClasses":false},{"classId":"12","name":"h1_struct","parentId":"","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Hus","subClasses":false},{"classId":"10","name":"root","parentId":"","hasContent":false,"isExternalContent":false,"templateUrl":"","label":"Facilitetere","subClasses":false},{"classId":"100","name":"document","parentId":"","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"Dokument","values":[{"classId":"1590","name":"point_cloud","parentId":"100","hasContent":false,"isExternalContent":true,"templateUrl":"https://websharecloud.com/?v=pv&t=p:default,c:panoramaview,m:f&pv=pv1&pv1=t:annotation,o:{scene_guid}&p={faro_project}","label":"Point Cloud","subClasses":false},{"classId":"109","name":"mark","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"Mark","subClasses":false},{"classId":"108","name":"vent","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"Vent","subClasses":false},{"classId":"107","name":"el","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"El","subClasses":false},{"classId":"106","name":"vs","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"VS","subClasses":false},{"classId":"105","name":"k","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"K","subClasses":false},{"classId":"104","name":"brand","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"Brand","subClasses":false},{"classId":"103","name":"historiskt","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"Historisk","subClasses":false},{"classId":"102","name":"navigation","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"Navigation","subClasses":false},{"classId":"101","name":"arkitekt","parentId":"100","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"Arkitekt","values":[{"classId":"110","name":"Arki1","parentId":"101","hasContent":true,"isExternalContent":false,"templateUrl":"","label":"Arki1","subClasses":false}],"subClasses":true}],"subClasses":true}]}
|
Get schema of the specified class.
media type | data type | description |
---|---|---|
application/json | object | JSON String Response with the schema of the specified class.
Example of response:
{ list :[{"metadata":[{"fieldId":"fi2spsys_id","fieldLabel":"ID","fieldType":"text",fieldMask: 48},{"fieldId":"fi2spsys_name","fieldLabel":"Plan","fieldType":"text",fieldMask: 48}],"classId":"13","className":"Plan","labelField":"fi2spsys_name","types":[{"name":"generic floor","id":"0"}]}]}
|
Get contents of all dictionaries
media type | data type | description |
---|---|---|
application/json | object | JSON Response with content of dictionary
Example of response:
{ list : [{"dictId":"2","list":[{"dictKey":"00","dictValue":"Undefined","seq":0},{"dictKey":"BIA","dictValue":"BIA","seq":1},{"dictKey":"BOA","dictValue":"BOA"},{"dictKey":"LOA","dictValue":"LOA","seq":2},{"dictKey":"____VA","dictValue":"____VA","seq":3}]}]}
|
Get structure of all perspective sets.
media type | data type | description |
---|---|---|
application/json | object | JSON String Response with the schema for given perspective set; the
only service that distinguish the rootlevel.
Example of response:
{ list :[{"perspectiveSetId":"1","rootClassId":"110","rootId":"13","list":[{"classId":"10","className":"root","parentClassId":"","subclasses":false,"descendants":[{"classId":"11","className":"h1_prop","parentClassId":"","subclasses":false}]},{"classId":"11","className":"h1_prop","parentClassId":"","subclasses":false,"descendants":[{"classId":"12","className":"h1_struct","parentClassId":"","subclasses":false}]},{"classId":"12","className":"h1_struct","parentClassId":"","subclasses":false,"descendants":[{"classId":"13","className":"h1_floor","parentClassId":"","subclasses":false}]},{"classId":"13","className":"h1_floor","parentClassId":"","subclasses":false,"descendants":[{"classId":"14","className":"h1_space","parentClassId":"","subclasses":false}]},{"classId":"14","className":"h1_space","parentClassId":"","subclasses":false}],"error":false}]}
|
Get schema of the specified class.
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | The unique identifier of class that schema is returned in response. | long |
media type | data type | description |
---|---|---|
application/json | object | JSON String Response with the schema of the specified class.
Example of response:
{"metadata":[{"fieldId":"fi2spsys_id","fieldLabel":"ID","fieldType":"text",fieldMask: 48},{"fieldId":"fi2spsys_name","fieldLabel":"Plan","fieldType":"text",fieldMask: 48}],"classId":"13","className":"Plan","labelField":"fi2spsys_name","types":[{"name":"generic floor","id":"0"}]}
|
Get contents of specified dictionary
name | type | description | default | constraints |
---|---|---|---|---|
dictId | path | Unique identifier of dictionary | long |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with content of dictionary
Example of response:
{"dictId":"2","list":[{"dictKey":"00","dictValue":"Undefined","seq":0},{"dictKey":"BIA","dictValue":"BIA","seq":1},{"dictKey":"BOA","dictValue":"BOA"},{"dictKey":"LOA","dictValue":"LOA","seq":2},{"dictKey":"____VA","dictValue":"____VA","seq":3}]}
|
Get structure of the specified perspective set.
name | type | description | default | constraints |
---|---|---|---|---|
perspectiveSetId | path | The unique identifier of perspective set. | long |
media type | data type | description |
---|---|---|
application/json | object | JSON String Response with the schema for given perspective set; the
only service that distinguish the rootlevel.
Example of response:
{"perspectiveSetId":"1","rootClassId":"110","rootId":"13","list":[{"classId":"10","className":"root","parentClassId":"","subclasses":false,"descendants":[{"classId":"11","className":"h1_prop","parentClassId":"","subclasses":false}]},{"classId":"11","className":"h1_prop","parentClassId":"","subclasses":false,"descendants":[{"classId":"12","className":"h1_struct","parentClassId":"","subclasses":false}]},{"classId":"12","className":"h1_struct","parentClassId":"","subclasses":false,"descendants":[{"classId":"13","className":"h1_floor","parentClassId":"","subclasses":false}]},{"classId":"13","className":"h1_floor","parentClassId":"","subclasses":false,"descendants":[{"classId":"14","className":"h1_space","parentClassId":"","subclasses":false}]},{"classId":"14","className":"h1_space","parentClassId":"","subclasses":false}],"error":false}
|
Get specified system dictionary.
name | type | description | default | constraints |
---|---|---|---|---|
dictId | path | Name of system dictionary. Possible values: langs, units, unitsymbols |
media type | data type | description |
---|---|---|
application/json | object | All values of specified dictionary |