code: public PutResult putAnnotations(List<Annotation> annotations) throws IOException, TokenExpiredException {
          String requestUrl = COLLECTION_RESOURCE + RESOURCE;
          ArgusResponse response = getClient().executeHttpRequest(ArgusHttpClient.RequestType.POST, requestUrl, annotations);
  
          assertValidResponse(response, requestUrl);
  
          Map<String, Object> map = fromJson(response.getResult(), new TypeReference<Map<String, Object>>() { });
  
          List<String> errorMessages = (List<String>) map.get("Error Messages");
  
          return new PutResult(String.valueOf(map.get("Success")), String.valueOf(map.get("Errors")), errorMessages);
      }
docs: Submits annotations.
  
  @param   annotations  The annotations to submit. Cannot be null or empty.
  
  @return  A description of the operation result.
  
  @throws  IOException  If the server cannot be reached.
  @throws  TokenExpiredException   If the token sent along with the request has expired