I've also posted this question in StackOverflow so I apoligize for the duplication in case you've already seen it.
I'm trying to use TeamCity's REST API to create a new Build Configuration. To avoid doing everything manually I'm using TeamCitySharp.
I was able to create a build configuration, attach it to a template and even set parameters without major issues. But now I'm trying to setup build Triggers and TeamCitySharp requires the raw xml for the trigger configuration? Anyone could point me in the right direction here? Not sure where to start. I've looked over the REST API documentation on the JetBrains site but it doesn't go into the specifics.
An example using the plain REST API would be fine, it doesn't need to be using TeamCitySharp.