The provisions for proceedings in mandamus apply to this proceeding, except where inconsistent therewith.
SDCL 21-30-5