Skip to Content
0
Former Member
Dec 09, 2013 at 09:46 PM

Getting Schedule Details (including error message if any)

44 Views

I am working on writing a UI to schedule documents. One of the requirement is to display the schedule status (such as pending, running, completed, failed etc). In case its a failed status, I need to show the error message but when I get schedule details using RESTful, it does not include that message. Is there any other API that can get me this detail?

This is what I am calling

http://<serverName>:6405/biprws/raylight/vx/documents/{documentId}/schedules/{scheduleId}

and this is what I am getting back

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<schedule>
     <id>55124</id>
     <name>rd_ui_schedule_1978_12042013-114458649</name>
     <format type="xls"/>
     <status id="3">Failed</status>
</schedule>

You can see there is no error message available while when i look in webi, I can see the error message (for example can not write file etc)