code: public UploadIdEnvelope uploadCSV(String dtid, byte[] file) throws ApiException {
          ApiResponse<UploadIdEnvelope> resp = uploadCSVWithHttpInfo(dtid, file);
          return resp.getData();
      }
docs: Upload a CSV file related to the Device Type.
  Upload a CSV file related to the Device Type.
  @param dtid Device Type ID. (required)
  @param file Device Type ID. (required)
  @return UploadIdEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body