Skip to Content
0
Former Member
Oct 31, 2013 at 10:01 AM

'Document' with identifier '182988' does not exist

634 Views

Hello Experts,

I am trying to retrieve the parameters or prompts for a document and programatically pass it to User interface. For example if the user selects a document he/she should be able to get the prompt values based on the prompts the document has.

For testing I am using the following:

1. Use Simple Rest Client app provider by Google Chrome
2. Get the logon token by using appropriate urls
3. Use GET

http://<cms>:6405/biprws/raylight/v1/documents/182988/parameters
4. Get error as follows
<error>
<error_code>400</error_code>
<message>The resource of type 'Document' with identifier '182988' does not exist.</message>
</error>


However using the following url returns the schedule for the same document
5. GET http://<cms>:6405/biprws/raylight/v1/documents/182988/schedules
Response
<?xml
version="1.0" encoding="UTF-8"
standalone="yes"?>
<schedules>
<schedule>
<id>183108</id>
<name>Test_Document</name>
<format type="webi"/>
<status>Completed</status>
</schedule>

Please advise. Thanks in advance