Are you trying to implement a converged access solution? If so, that solution is no longer being supported. With the 1832 access points, you can also implement Mobility Express which also is no longer a Cisco solution moving forward. What you should look into is the 9800 controllers which has support for the access points you have. If you have ESXi or Windows Server running hyper-v, you can install the 9800-CL which is a virtual controller. You would implement the access points in FlexConnect mode in that case.
However, if you still want to use your switch as a controller, then just backup the configuration before you start, do everything in the GUI then when you are completed, backup the configuration and run a diff between the config. That will show you what commands were added or modified and you can build your template off of that.
-Scott
*** Please rate helpful posts ***