WS to handle plugins
Web service to Upload Objects To External Domain Source
Example of request:
{"objects":[{"objectId":"243993","classId":"14"}]}
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | - id of external domain | long |
media type | data type |
---|---|
*/* | object |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with information about started long running process
Example of response:
{"processId":"45382499-84f9-4565-a251-71ecd48af821","state":"Started", "userName":"User name","startDate":"Fri Oct 02 11:22:28 CEST 2015","operationType":"TdxmImport"}
|
Web service to Update Objects From External Domain Source
Example of request:
{"objects":[{"objectId":"243993","classId":"14"}]}
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | - id of external domain | long |
media type | data type |
---|---|
*/* | object |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with information about started long running process
Example of response:
{"processId":"45382499-84f9-4565-a251-71ecd48af821","state":"Started", "userName":"User name","startDate":"Fri Oct 02 11:22:28 CEST 2015","operationType":"TdxmImport"}
|
Web service to get properties from External Domain Source
Example of request:
{"objects":[{"objectId":"243993","classId":"14"}]}
name | type | description | default | constraints |
---|---|---|---|---|
domainId | path | - id of external domain | long |
media type | data type |
---|---|
*/* | object |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with list of properties
Example of response:
{"list":[{"key":"Name","value":"objectName"},{"key":"ID","value":"1"},{"key":"Description","value":"Object description"}]}
|
Run plugin with given name in the context of given object
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | class ID of context object | long | |
objectId | path | object ID of context object | long | |
pluginName | path | name of event plugin |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with info about changed object
Example of response:
{labelChanged: false, classId: "Object ID", objLabel: "Object label", objectId: "Object ID"}
|
Run plugin with given name in the context of given object with its subtree in given perspective
name | type | description | default | constraints |
---|---|---|---|---|
classId | path | class ID of context object | long | |
objectId | path | object ID of context object | long | |
perspId | path | perspective ID to find subtree for object | long | |
pluginName | path | name of event plugin |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with info about started process
Example of response:
{"processId":"bbf2b1fc-e170-4400-a82e-ca3f5be31c9a","state":"Scheduled","userName":"John Bob","startDate":"2019-04-11T10:27:17.400819+02:00","operationType":"ModifySubTree"}
|