code: @ApiOperation(value="Returns information about a specified job.",
              response=RequestInfoInstance.class, code=200)
      @ApiResponses(value = { @ApiResponse(code = 500, message = "Unexpected error"), 
              @ApiResponse(code = 200, message = "Successfull response", examples=@Example(value= {
                      @ExampleProperty(mediaType=JSON, value=GET_REQUEST_RESPONSE_JSON)})) })
      @GET
      @Path(JOB_INSTANCE_GET_URI)
      @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
      public Response getRequestById(@javax.ws.rs.core.Context HttpHeaders headers, 
              @ApiParam(value = "identifier of the asynchronous job to be retrieved", required = true, example = "123") @PathParam("jobId") Long requestId,
              @ApiParam(value = "optional flag that indicats if errors should be loaded as well", required = false) @QueryParam("withErrors") boolean withErrors, 
              @ApiParam(value = "optional flag that indicats if input/output data should be loaded as well", required = false) @QueryParam("withData") boolean withData) {
  
          Variant v = getVariant(headers);
          String type = getContentType(headers);
          // no container id available so only used to transfer conversation id if given by client
          Header conversationIdHeader = buildConversationIdHeader("", context, headers);
          try {
  
              String response = executorServiceBase.getRequestById(requestId, withErrors, withData, type);
  
              return createResponse(response, v, Response.Status.OK, conversationIdHeader);
          } catch (IllegalArgumentException e) {
              return notFound(e.getMessage(), v, conversationIdHeader);
          } catch (Exception e) {
              logger.error("Unexpected error during processing {}", e.getMessage(), e);
              return internalServerError(errorMessage(e), v, conversationIdHeader);
          }
      }
docs: instance details