When attempting to access the REST API on Output Management (OM) Web Viewer 14.0, the request fails with the following error:
{"messages":[{"type":"ERROR", "number": "CAHVS0462", "content": "No endpoint GET /web-viewer/api."}]}
Additionally, a warning message can be also visible from the TOMCAT STC:
WARN <*###> <#> No mapping for GET /web-viewer/api
This error occurs due to a path mismatch. The URL being accessed is incomplete. The base /api path is not a valid endpoint and the application does not have a mapping for it.
The REST API is accessible in the Swagger UI. The URL to access the Swagger UI has the following format:
For more information regarding the CAHVS0462E see the [OM Web Viewer - CAHVS0462E Request rejected details - Documentation] (https://techdocs.broadcom.com/us/en/ca-mainframe-software/traditional-management/web-viewer/14-0/messages/cahx-messages/cahvs0462e.html)
For Further assistance with REST API see the [OM Web Viewer - Use the REST API - Documentation](https://techdocs.broadcom.com/us/en/ca-mainframe-software/traditional-management/web-viewer/14-0/using/use-the-rest-api.html)