Use of /Metadata to Request a List of Document Types

Describes how to request a list of document types supported for the Operational reporting API for procurement using /metadata.

To request a list of supported document types, construct a query using the /metadata endpoint according to the following model:
{{runtime_url}}/metadata?realm=myRealm&product=buyer&select=documentType
The query response is returned in JSON format, and it includes a complete list of document types in the documentType fields. These can be passed back in to the /metadata API as values of the documentType query parameter.