Skip to Content
avatar image
Former Member

Filter Schedules using Restful

Good day, I'm trying to create an app to see the scheduled instances for a CUID given by a user, I can bring all the information by using the url:

"http://USALTDDENGWB06.ena.us.experian.local:6405/biprws/raylight/v1/documents/" + CUID + "/schedules/

Where CUID is a string variable that will hold the given CUID.

What I can't find is how search specifically for just the recurring reports, I know that the status is 9:

    <schedule>
        <id>24172</id>
        <name>Some Report</name>
        <format type="xls"/>
        <status id="9">Recurring</status>
    </schedule>

but when I try with the above URl it brings everytihing:

    <schedule>
        <id>24178</id>
        <name>Some Report</name>
        <format type="xls"/>
        <status id="9">Recurring</status>
    </schedule>
    <schedule>
        <id>24182</id>
        <name>Some Report</name>
        <format type="xls"/>
        <status id="3">Failed</status>
    </schedule>

In the above example is bringing the schedules instances as well the failed ones.

Can you help to know how to just call for the Recurring instances?

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 11, 2017 at 10:46 PM

    Hi Sergio,

    There is no filter in the raylight apis that will allow you to just return the "recurring" instances.

    If you have BI4.2, however, you can submit your own Select query with the BI Platform APIs and get a list of IDs this way,
    See the CMSQuery API in the documentation. Note: CMSQuery is not available in BI 4.1.

    Dan

    Add comment
    10|10000 characters needed characters exceeded