code: public ApiResponse<UploadIdEnvelope> uploadCSVWithHttpInfo(String dtid, byte[] file) throws ApiException {
          com.squareup.okhttp.Call call = uploadCSVValidateBeforeCall(dtid, file, null, null);
          Type localVarReturnType = new TypeToken<UploadIdEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
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 ApiResponse&lt;UploadIdEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body