We’ve had several queries regarding numbering schemes, and how the methods related to numbering schemes have been shown as removed from the various services in the API help documentation.
The reason behind this is, in Vault 2020, Numbering Scheme methods have now been consolidated into a single Numbering Service as compared to earlier Vault versions where Files, Items and ChangeOrders each had their own implementations of Numbering service related methods.
So now, all Numbering Scheme functionality that was previously available, carries over into this new Service and can be accessed from a single Numbering Service.
For example, while migrating your earlier code to Vault 2020, the older method to fetch Numbering schemes which would be something as:
NumSchm schemes = connection.WebServiceManager.DocumentService.GetNumberingSchemesByType(NumSchmType.ApplicationDefault);
would now be changed to something as:
NumSchm schemes = connection.WebServiceManager.NumberingService.GetNumberingSchemes(EntityClassId , NumSchmType.ApplicationDefault); // pass in the appropriate entity class ID