Creating xml for ReST calls for Body of request

Is there some sort of glossary or way to understand how to construct (syntactically) the body of a PUT request of an ReST call? For example, I want to create a temporary computer group and add computers to it using ReST. I’m assuming I using the POST computergroups/{site type}/{site name} (i.e., https://<bigfix_server>:52311/api/computergroups) but not sure how to create the body xml file

Try the BESAPI.xsd:
https://developer.bigfix.com/rest-api/schema_files.html

Here are some hints:
https://developer.bigfix.com/rest-api/restapi_request_new.html

1 Like

For a general example of how to add machines to a manual computer group, please see: