Anyone have example code for using ConditionManagement API?

The documentation seems to be a bit sparse. Specifically I'm wondering about the XML structure required for psXMLChanges.