REST API knowledge exchange
Post Reply
Henrik.Grevelund
Service Provider
Posts: 175
Liked: 26 times
Joined: Feb 13, 2017 2:56 pm
Full Name: Henrik Grevelund
Contact:

Enterprise Manager API BackupSession & Tasksession reason field

Post by Henrik.Grevelund » 1 person likes this post

Hi,

I can't seem to get the reason text when asking the VEM API.
I was excepting to get the reason text which normally explain the errors if the job or task failed.

/backupSessions/{ID} doesn't list the field
/backupTaskSessions/{ID} list the field but it's empty

Is this expected behaviour ?

The most accurate would be to get the sessionlog for the backupsession and the task, but that doesn't seem to be possible.
Have nice day,
Henrik
oleg.feoktistov
Veeam Software
Posts: 2015
Liked: 671 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Enterprise Manager API BackupSession & Tasksession reason field

Post by oleg.feoktistov »

Hi Henrik,

With /backupSessions/{ID} it's expected, we didn't have reason property there. With /backupTaskSessions/{ID} looks like a bug.
I would advise using VBR REST API though, where session logs are already available and task session logs are planned to be added soon.

Best regards,
Oleg
Henrik.Grevelund
Service Provider
Posts: 175
Liked: 26 times
Joined: Feb 13, 2017 2:56 pm
Full Name: Henrik Grevelund
Contact:

Re: Enterprise Manager API BackupSession & Tasksession reason field

Post by Henrik.Grevelund » 1 person likes this post

Hi Oleg,

I liked your answer here better :-) :
restful-api-f30/vbr-api-sessionlogs-and ... 94305.html

Thanks.
Have nice day,
Henrik
oleg.feoktistov
Veeam Software
Posts: 2015
Liked: 671 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Enterprise Manager API BackupSession & Tasksession reason field

Post by oleg.feoktistov »

Yeah, looks more hopeful :)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests