Hello,
I want to reschedule webi report through restful webservices.
I can see if a schedule is failed or not with http://{servername}:{port}/biprws/raylight/v1/documents/{documentID}/schedules/{schedulID}. (get method)
Then I want to lauch again the webi reports that has been failed:
I am using post method :
url : http://{servername}:{port}/biprws/raylight/v1/documents/{documentID}/schedules/
with value :
{
"schedule" : { "name" : "test",
"format" : {"@type":"pdf"}},
"destination": {"mail": {
"from": "bo@domaine.fr",
"to": "user@domaine.fr",
"cc": "",
"bcc": "",
"subject": "Test DEV",
"message": "",
"addAttachment": true
}}
After this, here is the schedule parameters
{"schedule": {
"id": 207755,
"name": "test",
"format": {"@type": "pdf"},
"status": {
"@id": "1",
"$": "Completed"
},
"destination": "",
"once": {
"@retryIntervalInSeconds": "1800",
"@retriesAllowed": "0",
"startdate": "2016-02-01T15:55:07.888+01:00",
"enddate": "2026-02-01T16:55:07.888+01:00"
},
"serverGroup": {
"@required": "false",
"@id": "0"
}
}}
destination parameters disappeared !
Could you help me to know the reason of this ?
Thanks
Antoine