Run SWS V2 web services from a supported web browser (see Prerequisites). Below are examples of a sample run of the web services using Google Chrome.In the example, the web service is run with the Protocol configured to https and Authentication Type configured to None.
SWS V2 displays an error if a mismatch in the protocol exists, as illustrated below.
Similarly, if you provide a username and/or password in the query parameters, it is ignored.
SWS V2 supports different formats for response. The supported formats are TEXT, XML and JSON. However, there are certain web services that only support TEXT and JSON. For information on the supported formats for a particular web service, see the StorNext Web Services Guide online at http://www.quantum.com/snsdocs.
Quantum recommends JSON as the preferred format since most web services support this format. XML is also supported, but it is primarily used for compatibility with existing applications.
Below is an example of the same web service run with the XML format request.
Below is an example of the same web service run with the JSON format request.
If the Authentication Type is configured to User, the web service request requires a valid username and password.
If the user credentials are not provided, an error appears.
If the incorrect username and password are provided in the credentials, a corresponding error appears.