code: @Override
      public Map<String, DocumentTranslationRequestData> getDocumentTranslationRequests()
              throws ServiceException {
  
          GetDocumentTranslationRequestsResponse resp = invokeApiJson(
                  "GET",
                  escapePathSegment(account.getInstanceId()) + "/v2/doc-trs",
                  null,
                  GetDocumentTranslationRequestsResponse.class);
  
          if (resp.getStatus() == Status.ERROR) {
              throw new ServiceException(resp.getMessage());
          }
  
          Map<String, DocumentTranslationRequestData> resultTRs = new TreeMap<>();
          for (Entry<String, RestDocumentTranslationRequest> trEntry : resp.translationRequests.entrySet()) {
              String id = trEntry.getKey();
              RestDocumentTranslationRequest tr = trEntry.getValue();
              resultTRs.put(id, new DocumentTranslationRequestDataImpl(id, tr));
          }
  
          return resultTRs;
      
      }
docs: /* (non-Javadoc)
  @see com.ibm.g11n.pipeline.client.ServiceClient#getDocumentTranslationRequests()