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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 1 2 6

When (if ever) would a DSS REST API client get http 201 or 3xx responses?

A question arose on some of the documented http response codes listed at a link from the DSS API here: https://hosted.datascopeapi.reuters.com/RestApi.Help/Home/StatusCodes. The questions was specifically on the 201 and the 3xx responses listed. There are valid http codes, but do they ever occur with DSS and if so under what circumstances?

dss-rest-apidatascope-selectdss
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.

Upvote
Accepted
11.3k 25 8 13

@mrr, One circumstance which I have found the status code 201 is creating Instrument List or Report Template. Please refer to REST API Reference Tree.

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
13.7k 26 8 12

@mrr,

For DSS I have personally never observed HTTP status codes 201 or 3xx. That does not mean it could not happen, but I cannot think of a case where it would.

For TRTH a 302 (redirect) will occur if you download the resulting data from AWS, as described in the article on boosting TRTH downloads with AWS.

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
20 2 1 5

Thank you both. I have confirmed that a 201 response code is sent when an instrumet list is created.

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.