Index: trunk/zoo-project/zoo-services/utils/open-api/static/openapi.js
===================================================================
--- trunk/zoo-project/zoo-services/utils/open-api/static/openapi.js	(revision 984)
+++ trunk/zoo-project/zoo-services/utils/open-api/static/openapi.js	(revision 985)
@@ -37,4 +37,5 @@
 function loadRequest(){
     var requestObject={
+	"id": System["JSON_STR"]["id"],
         "inputs":{},
         "outputs":{},
@@ -62,10 +63,10 @@
 		    if($('input[name="oapi_ioAsArray"]').val()=="true"){
 			cInput["input"]["format"]={
-			    "mimeType": $(this).parent().prev().find("select").val()
+			    "mediaType": $(this).parent().prev().find("select").val()
 			};
 			cInput["input"]["href"]=$(this).val();
 		    }else{
 			cInput["format"]={
-			    "mimeType": $(this).parent().prev().find("select").val()
+			    "mediaType": $(this).parent().prev().find("select").val()
 			};
 			cInput["href"]=$(this).val();
@@ -115,5 +116,5 @@
 	    var selector="select[name='format_"+cName+"']";
 	    cOutput["format"]={
-		"mimeType": $(selector).val()
+		"mediaType": $(selector).val()
 	    };
         }
Index: trunk/zoo-project/zoo-services/utils/open-api/templates/index.html
===================================================================
--- trunk/zoo-project/zoo-services/utils/open-api/templates/index.html	(revision 984)
+++ trunk/zoo-project/zoo-services/utils/open-api/templates/index.html	(revision 985)
@@ -160,5 +160,5 @@
  #set cFormats=[]
   #for j in range(len($obj["input"]["formats"]))
-  #set $cFormats+=[$obj["input"]["formats"][$j]["mimeType"]]
+  #set $cFormats+=[$obj["input"]["formats"][$j]["mediaType"]]
   #end for
   $printControl({"title": "format","type": "input_format","name": $cName,"options":$cFormats})
@@ -272,5 +272,5 @@
 	  <input type="hidden" name="oapi_ioAsArray" value="#if "io_as_array" in $openapi["openapi"]#$openapi["openapi"]["io_as_array"]#else#false#end if#" />
 	  <input type="hidden" name="oapi_wsUrl" value="$openapi["openapi"]["wsurl"]" />
-	  <input type="hidden" name="oapi_jobUrl" value="$openapi["openapi"]["rootUrl"]$(currentUrl)/jobs" />
+	  <input type="hidden" name="oapi_jobUrl" value="$openapi["openapi"]["rootUrl"]/jobs" />
 	  <input type="hidden" name="oapi_reqID" value="$cid" />
 	  <h3>Inputs</h3>
@@ -291,5 +291,5 @@
 	    #if "formats" in $cOutput["output"]
 	    #for j in range(len($cOutput["output"]["formats"]))
-	    #set cFormats+=[$cOutput["output"]["formats"][$j]["mimeType"]]
+	    #set cFormats+=[$cOutput["output"]["formats"][$j]["mediaType"]]
 	    #end for
 	    #end if
@@ -424,5 +424,5 @@
 	  * Jobs list
 	  *#
-	  #set cValue=$values[$i]["infos"]
+	  #set cValue=$values[$i]
 	  <th scope="row">
 	    #if "status" in $cValue and $cValue["status"]=="successful"
@@ -526,5 +526,5 @@
       <hr>
       <address>$openapi["openapi"]["rootUrl"]$(currentUrl).html</address>
-      <!-- hhmts start -->Last modified: Mon Mar  1 17:01:50 CET 2021 <!-- hhmts end -->
+      <!-- hhmts start -->Last modified: Thu Mar  4 10:51:46 CET 2021 <!-- hhmts end -->
     </main>
 #if $currentKey=="root"
