System parameters handling WS
Get list of configurations for external presentations
media type | data type | description |
---|---|---|
application/json | object | 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 | The specification of configuration that has to be added. |
media type | data type | description |
---|---|---|
application/json | object | 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 | object | 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 | object | 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 | required long |
media type | data type | description |
---|---|---|
application/json | string | The specification of configuration that has to be updated. |
media type | data type | description |
---|---|---|
application/json | object | JSON with information about operation's result |