ARK ID for Spear Bolt is BallistaArrow.
To use the command provided by this constructor, make sure that you had previously executed enablecheats YourServerPassword.