question

Upvotes
Accepted
216 2 1 3

我在哪里可以检查open dacs REST API 请求/响应的结构?

比如在如下请求中:http:///command=peCheck&service=IDN_SELECTFEED&domain=LONDON_TEST&user=DIALG&position=1.1.1.1/net&application=312&peset=18446744073709551391,9580

,当我设置peset = 9581, 18446744073709551391,9580时,我得到 "FAILURE:BAD_PESET"。

我想知道上述命令中变量的可能值是什么?

open-dacs
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.

1 Answer

· Write an Answer
Upvote
Accepted
216 2 1 3

你好用户:

你在使用OpenDACS API 进行开发,还是在向ODPS发起请求?

如果是后者,请查看 ODPS Developer Guide on My Refinitiv (我链接的是8.1的版本, 请查看对应您安装使用的版本手册).

请看手册中一个有效请求的例子:

                
  1. http://oaklx8637:8088/command=peCheck&user=rootsh&position=1.1.1.1/ net&application=77&peset=ROSIC_RDF,1,2,3,4,5,6,7,8,9,10:DIRECTFEED,1,2,3,4,5,6,7,8,9,10 

看起来,你之前的请求中包含的PE值是超出有效范围了。

谢谢

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.