Abstract class for REST webservices
Add macro to database
media type | data type | description |
---|---|---|
application/json | object | Example of request:
{"macroName":"55","perspectiveSetId":"9","targetClassId":"104","targetFieldName":"fi2prop_id"}
|
media type | data type | description |
---|---|---|
application/json | object | JSON Response with the specified object properties. Properties are
in format {propertyName, "fieldName":propertyName}.
Example of response:
{"list":[{"id":1,"macroName":"55","perspectiveSetId":9,"targetClassId":104,"targetFieldName":"fi2prop_id"}],"success":true}
|
Delete macro from database
name | type | description | default | constraints |
---|---|---|---|---|
macroId | path | of macro to be deleted | long |
media type | data type | description |
---|---|---|
application/json | object | success: true/false |
update macro in database
name | type | description | default | constraints |
---|---|---|---|---|
macroId | path | of macro to be updated | long |
media type | data type | description |
---|---|---|
application/json | object | Example of request:
{"id":1,"macroName":"55","perspectiveSetId":"9","targetClassId":"104","targetFieldName":"fi2prop_id"}
* |
media type | data type | description |
---|---|---|
application/json | object | success: true/false |