The applicant must schedule the ex parte hearing ahead of time with the court. This guide includes a template complaint with cause of action for injunction.It will not fit your circumstances exactly and must be customized. There are different types of civil restraining orders, each with their own eligibility requirements and steps that need to be taken to get a restraining order. NOTE: When filing a Motion for a TRO with the court, you must choose Motion for TRO. Motion for order shortening time for discovery. It may be advisable to depose the plaintiff or third party witnesses before the preliminary injunction hearing. Learn exactly what forms you need to file a restraining order in San Joaquin and Sacramento counties. "Plaintiff") Motion for Temporary Restraining Order and Order to Show Cause Why Preliminary. Injunction Should Not Issue.