code: @Override
      public com.enioka.jqm.api.JobInstance getJob(int idJob)
      {
          try
          {
              return target.path("ji/" + idJob).request().get(JobInstance.class);
          }
          catch (BadRequestException e)
          {
              throw new JqmInvalidRequestException(e.getResponse().readEntity(String.class), e);
          }
          catch (Exception e)
          {
              throw new JqmClientException("An internal JQM error occured", e);
          }
      }
docs: /////////////////////////////////////////////////////////////////////