code: public ApiResponse<ApiSuccessResponse> createOpenMediaWithHttpInfo(String mediatype, CreateData1 createData) throws ApiException {
          com.squareup.okhttp.Call call = createOpenMediaValidateBeforeCall(mediatype, createData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Create open media interaction
  Create a new open media interaction
  @param mediatype The media channel. (required)
  @param createData Request parameters. (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body