The capabilities metadata required is documented here: https://docs.mendix.com/refguide/consumed-odata-service-requirements/
Simplest way to get an example is to create a new OData API in Mendix with the required capabilities, and then export its metadata contract. This is an xml file that you can open in a text editor to find the required capabilities info.