Abstract class for REST webservices
media type | data type |
---|---|
application/json | string |
media type | data type | description |
---|---|---|
application/json | object |
Delete context root configuration for given domain
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | domain ID | long |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with information if deleting context parent configuration for domain was successful or not |
Get context root configuration for given domain
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with the configuration for context parent.
Example of response:
{"configuredContextRootClassId": "102","configuredContextRootFieldToMatch": "borgitm_descr","contextRootIdChildFieldName": "prop_parent","contextRootChildClassName": "fi2property"}
|
Set context root configuration for given domain
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type | description |
---|---|---|
*/* | object | HdcContextParentTO |
media type | data type | description |
---|---|---|
application/json | object |
media type | data type |
---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type |
---|---|
multipart/form-data | (custom) |
media type | data type | description |
---|---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | long |
media type | data type |
---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type |
---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object |
Get list of object classes names in active configuration.
media type | data type | description |
---|---|---|
application/json | object | JSON Response with list of classes
Example of response:
{"list":[{"classId":"101","name":"org4grp","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"105","name":"struct","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"104","name":"prop","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"103","name":"org2grp","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"102","name":"org3grp","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"111","name":"document","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"106","name":"org1grp","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"107","name":"floor","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"108","name":"space","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"109","name":"object","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"110","name":"root","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"112","name":"fi2equipment","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"113","name":"arkitekt","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"115","name":"konstr","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"114","name":"mark","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"116","name":"vs","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"117","name":"ventilation","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"118","name":"el","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"119","name":"event","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"120","name":"foto","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"121","name":"navigation","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"122","name":"historisk","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"123","name":"sba","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"124","name":"brand","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"125","name":"point_cloud","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"126","name":"point_cloud_url","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"127","name":"contract","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"128","name":"ru","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"130","name":"hdv_h3_struct","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"132","name":"hdv_h3_space","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]},{"classId":"131","name":"hdv_h3_floor","parentId":"","hasContent":false,"isExternalContent":false,"values":[],"subClasses":false,"properties":[]}]}
|
Remove scale field from class
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | - class id | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | long |
media type | data type |
---|---|
*/* | object |
media type | data type | description |
---|---|---|
application/json | object |
Remove security scheme id field from class
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | - class id | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
relationId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
relationId | path | long |
media type | data type |
---|---|
application/json | string |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classRelationId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classRelationId | path | long |
media type | data type |
---|---|
application/json | string |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
relationId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
Updates existing external domain
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | id of the domain | long |
media type | data type |
---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object | Sample input: {"domainName":"d1", "isPublic":false} |
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | long |
media type | data type |
---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
fieldId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
fieldId | path | long |
media type | data type |
---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classRelationId | path | long |
media type | data type |
---|---|
application/json | string |
media type | data type | description |
---|---|---|
application/json | object |
name | type | description | default | constraints |
---|---|---|---|---|
classRelationId | path | long |
media type | data type |
---|---|
application/json | string |
media type | data type | description |
---|---|---|
application/json | object |
Get list of field relations for tdxm class mapping
name | type | description | default | constraints |
---|---|---|---|---|
relationId | path | id of tdxm class mapping | long |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with list of field relations
Example of response:
{"list":[{"srcClass":"HDV_H1_ORG2GRP","dstFieldId":"368","dstField":"fmf_name","srcFieldId":"599","srcField":"BORGITM_DESCR","relationId":"23","idMapping":false},{"srcClass":"HDV_H1_ORG2GRP","dstFieldId":"367","dstField":"fmf_id","srcFieldId":"894","srcField":"BORGITM_ID","relationId":"23","idMapping":true}]}
|
Import external domain classes with fields from xls
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | Id of the target import domain file upload request with xls with external domain configuration | long |
media type | data type |
---|---|
multipart/form-data | (custom) |
media type | data type | description |
---|---|---|
application/json | object |
Get information about live source for given domain.
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with the list of versions.
Example of response:
{"isLiveDataSource":true,"url":"http://webservice.com","properties":{"username":"test","password":"test1"}}
|
Set live source for given domain
Example of request:
{"isLiveDataSource":true,"url":"http://webservice.com","properties":{"username":"test","password":"test1"}}
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | long |
media type | data type | description |
---|---|---|
application/json | object | HdcLiveSourceTO |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with information if setting properties for live source was successful or not |
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | long | ||
fieldId | path | long |
media type | data type | description |
---|---|---|
application/json | object |
Set scale field for class
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | - class id | long | |
fieldId | path | - field id | long |
media type | data type | description |
---|---|---|
application/json | object |
Set security sheme id field for class
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | - class id | long | |
fieldId | path | - field id | long |
media type | data type | description |
---|---|---|
application/json | object |
Import external domain configuration
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | Id of the target import domain file upload request with external domain configuration (only xml and json extension are supported) | long |
media type | data type |
---|---|
multipart/form-data | (custom) |
media type | data type | description |
---|---|---|
application/json | object |
Export external domain configuration
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | Id of the exported domain | long | |
outputType | path | Type of outputFile - JSON or XML |
media type | data type | description |
---|---|---|
application/json | object | XML or JSON file with external domain configuration |
application/vnd.ms-excel | object | |
application/xml | object |