'how to select the branch using teamcity API

I am trying to run a teamcity pipeline through the api, but I do not know how to send in the body the stream I want to sync to, should it be sent inside properties or inside changes tag, if so what would the exact syntax would be like? I have gone through the documentation and I have not been able to find how to do this. This is the screenshot of how I do it through the GUI enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source