Hi.
Please see This Configuration API Client sample;
https://doc.developer.milestonesys.com/html/index.html?base=samples/configapiclient.html&tree=tree_2.html
It might be helpful for you regarding this question.