Table of Contents

Relative-Reasoning

REST Operations

GET

URI Parameter Accept Types Result Status Codes
/relative-reasoning params=true text/html List of all relative-reasonings of all packages that the user has permission to read. 200 - OK
modelType application/json If params=true is present a list of available params will be returned as json. 500 - Internal Server Error
modelFilter text/plain
optional parameter “delimiter” for text/csv only, default value: “,” text/csv
/package/<id>/relative-reasoning params=true text/html List of all relative-reasonings of the package given by the URI. 200 - OK
modelType application/json If params=true is present a list of available params will be returned as json. 401 - Unauthorized
modelFilter text/plain 500 - Internal Server Error
optional parameter “delimiter” for text/csv only, default value: “,” text/csv
/package/<id>/relative-reasoning/<id> info=<infotype> (*) text/html The relative-reasoning identified by the URI. 200 - OK
status application/json 401 - Unauthorized
optional parameter “delimiter” for text/csv only, default value: “,” text/plain 404 - Not Found
text/csv 500 - Internal Server Error

POST

URI Parameter Accept Types Result Status Codes
/relative-reasoning modelName Create a new relative-reasoning in the default package. The redirect points to the URI of the new relative-reasoning. 303 - See Other
packages 500 - Internal Server Error
param
modelName
/package/<id>/relative-reasoning modelName Create a new relative-reasoning in the package given by the URI. The redirect points to the URI of the new relative-reasoning. 303 - See Other
packages 401 - Unauthorized
param 500 - Internal Server Error
/package/<id>/relative-reasoning/<id> modelName Updates the name of the relative-reasoning. The redirect point to the updated relative-reasoning. Set setAsDefaultName to “setAsDefaultName” to use the new alias as default name. 303 - See Other
setAsDefaultName 500 - Internal Server Error

DELETE

URI Parameter Accept Types Result Status Codes
/package/<id>/relative-reasoning/<id> Delete the relative-reasoning identified by the URI. 303 - See Other
401 - Unauthorized
404 - Not Found
500 - Internal Server Error

PUT

Not Implemented.