Skip to content

Operation /model/getModelIDByModelName fails to retrieve models without a version

The /model/getModelIDByModelName operation fails to retrieve the ID of models that do not have a "version" specified. However, models without a specified version are valid in ADOxx.

Example:

  • modelname - Demonstration
  • modelversion - none
  • modeltype - Business process diagram (BPMN 2.0)
  • Full URL - https://develop.omilab.org/ADOxxWEBAPI/services/rest/model/getModelIDByModelName?modelname=Demonstration&modeltype=Business%20process%20diagram%20(BPMN%202.0)

Details from execution through Swagger:
image

The model itself exists and it is possible to retrieve its ID via the name using AdoScript:
image