System parameters handling WS
Get list of configurations for external presentations
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | JSON Response with list of configurations for external presentations
Example of response:
{"list":[{"id":"1","description":"configuration description","parentClass":"parent class name","domainName":"Domain name"}]}
|
Add configuration for external presentation.
Example of request:
{"description":"Description","parentClassLabel":"Parent Class Label","parentClassId":10,"domainId":1,"domainName":"Domain Name","url4GetQuerries":"https://host/api/v2/floor/function/getpossiblequeries","url4QueryCall":"https://host/api/v2/floor/function/ExecuteQuery?cadkey={GUID}&queryid={queryId}&format=fmaccess"}
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | The specification of configuration that has to be added. |
| media type | data type | description |
|---|---|---|
| application/json | HdcSuccessWithId (JSON) | JSON with added configuration ID.
{"id":"1","success":true}
|
Delete configuration of external presentation.
| name | type | description | default | constraints |
|---|---|---|---|---|
| configId | path | ID of configuration to be deleted | long |
| media type | data type | description |
|---|---|---|
| application/json | HdcSuccessTO (JSON) | JSON with information about operation's result |
Get configuration for external presentation by its id
| name | type | description | default | constraints |
|---|---|---|---|---|
| configId | path | long |
| media type | data type | description |
|---|---|---|
| application/json | ExternalPresentationConfig (JSON) | JSON Response with configuration for external presentation by its id
Example of response:
{"id":1,"description":"Description","parentClassLabel":"Parent Class Label","parentClassId":10,"domainId":1,"domainName":"Domain Name","url4GetQuerries":"https://host/api/v2/floor/function/getpossiblequeries","url4QueryCall":"https://host/api/v2/floor/function/ExecuteQuery?cadkey={GUID}&queryid={queryId}&format=fmaccess"}
|
Update configuration for external presentation.
Example of request:
{"id":1,"description":"Description","parentClassLabel":"Parent Class Label","parentClassId":10,"domainId":1,"domainName":"Domain Name","url4GetQuerries":"https://host/api/v2/floor/function/getpossiblequeries","url4QueryCall":"https://host/api/v2/floor/function/ExecuteQuery?cadkey={GUID}&queryid={queryId}&format=fmaccess"}
| name | type | description | default | constraints |
|---|---|---|---|---|
| configId | path | long |
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | The specification of configuration that has to be updated. |
| media type | data type | description |
|---|---|---|
| application/json | HdcSuccessTO (JSON) | JSON with information about operation's result |