You can't set a midroll pointing directly to a Kaltura entry ID or video URL. This can be done only for preroll and postroll using the bumper plugin.
If you must support midroll, there are 2 options:
1. Use VAST and create your own simple VAST file pointing to the required video file. Host the VAST file on youe server and set its URL link in the VAST cue point definition.