code: protected <T extends Dto> T getObject(Class<T> classOfT, String methodKey, String entityId) throws Exception {
          return getObject(classOfT, methodKey, entityId, "");
      }
docs: Gets the Dto instance from API.
  @param <T>           Type on behalf of which the request is being called.
  @param classOfT      Type on behalf of which the request is being called.
  @param methodKey     Relevant method key.
  @param entityId      Entity identifier.
  @return              The Dto instance returned from API.
  @throws Exception