SAP BO 4.1 SP1
I Have a Webi report with the default setting "Schedule For" set to "Schedule for specified users and user groups" with 2 users selected.
Using RESTful API I schedule this report:
http://Myhost:6405/biprws/raylight/v1/documents/5911/schedules
This successfully returns:
{"success":{"message":"The resource of type 'Schedule' with identifier '6210' has been successfully created.","id":6210}}
Now I try to get the schedule status:
http://Myhost:6405/biprws/raylight/v1/documents/5911/schedules/6210
This fails with this error:
"404:The resource of type 'Schedule' with identifier '6210' does not exist."
Looking at the schedule list : http://Myhost:6405/biprws/raylight/v1/documents/5911/schedules
This returns:
{"schedules":{"schedule":[{
.....
.....
{"id":6211,"name":"Track Data Changes (Prompts)","format":{"@type":"xls"},"status":{"@id":"3","$":"Failed"}},
{"id":6212,"name":"Track Data Changes (Prompts)","format":{"@type":"xls"},"status":{"@id":"1","$":"Completed"}}]}}
Where the last 2 entries were created with this schedule but here there are 2 ids that are different from the one returned by the previous sumbit.
What does happen to the 6210 schedule id returned by the schedule rest api?
Why are there 2 different ids replacing the 1 returned ?
If there are a single id for each user in the "schedule for" group then the schedule rest api should return a list of id, not just one that doesn't exists.
How does I can query with rest to know the schedule status of the submitted reports if I cannot know all the ids?
In the schedule list I cannot know which are and how many are the schedules created for my submission.
Is there any workaround?
Thanks,
Riccardo