Is your feature request related to a problem? Please describe.
A newer experimental API version deprecates the method to get a typesystem for a document that identified the document by identifier and added a new method that identifies it by name instead. We should support the newer method. This way we do not need to determine the document identifier first when we export results as CAS. However, we should also still allow the older version for product versions that do not yet support the new method.
Describe the solution you'd like
Try to call the new endpoint first. If not possible use the old one (and retrieve identifier first).
Is your feature request related to a problem? Please describe.
A newer experimental API version deprecates the method to get a typesystem for a document that identified the document by identifier and added a new method that identifies it by name instead. We should support the newer method. This way we do not need to determine the document identifier first when we export results as CAS. However, we should also still allow the older version for product versions that do not yet support the new method.
Describe the solution you'd like Try to call the new endpoint first. If not possible use the old one (and retrieve identifier first).