An API call made using the Vault API is not returning the proper document field values. It is only returning the field value ID and not the field value name.
The API call made to query the document fields is defined at the Type level.
The Vault Document Metadata API describes the document fields at the lowest level of the classification hierarchy. Check the following:
- If the affected document has a value in the Subtype field, then the API call must be defined at the Subtype level.
- If the affected document has a value in the Classification field, then the API call must be defined at the Classification level.
Vault API Documentation: Retrieve Document