For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
3 2 3 4

Client want to change host name to IP for their Rest API. But got error 404. see attachment for details. May i aslo have DSS REST API user guide? ga

dss-rest-apidatascope-selectdss
capture.gif (272.9 KiB)
1471007237.jpg (418.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@Hao.Tang

Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS

Upvotes
Accepted
9.6k 10 7 7

Hello @Hao.Tang

Please refer to DataScope Product Suite Connection Options + Requirements which identifies the current connection options for accessing DSS i.e. interface(API) with IP.

However, the clients are encouraged to access DataScope products via host-name-based URLs, not IP addresses. This is the recommended best practice as it requires no changes to client scripts or browser bookmarks in the event of a failover of the Production environment to the Disaster Recovery (DR) site.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 2 3 4

In China host name is blocked and client can only use IP. When client use 192.165.219.152 by rest API, they got error 404 and cannot get token.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
3 2 3 4

The file you shared is also incorrect. DR IP for internet rest API and FTP are both suspected

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
11.3k 25 9 14

Hi @Hao.Tang,

It seems that the "RestApi" is missing from the endpoint. The endpoint URL should be:

https://192.165.219.152/RestApi/v1/Authentication/RequestToken 

Also, you need to disable the certificate validation in the application.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.