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.
			
			
									
						
							- 
				Henrik.Grevelund
 - Service Provider
 - Posts: 190
 - Liked: 30 times
 - Joined: Feb 13, 2017 2:56 pm
 - Full Name: Henrik Grevelund
 - Contact:
 
Enterprise Manager API BackupSession & Tasksession reason field
Have nice day,
Henrik
			
						Henrik
- 
				oleg.feoktistov
 - Veeam Software
 - Posts: 2037
 - Liked: 682 times
 - Joined: Sep 25, 2019 10:32 am
 - Full Name: Oleg Feoktistov
 - Contact:
 
Re: Enterprise Manager API BackupSession & Tasksession reason field
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
			
			
									
						
										
						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: 190
 - Liked: 30 times
 - Joined: Feb 13, 2017 2:56 pm
 - Full Name: Henrik Grevelund
 - Contact:
 
Re: Enterprise Manager API BackupSession & Tasksession reason field
Hi Oleg,
I liked your answer here better
 :
restful-api-f30/vbr-api-sessionlogs-and ... 94305.html
Thanks.
			
			
									
						
							I liked your answer here better
restful-api-f30/vbr-api-sessionlogs-and ... 94305.html
Thanks.
Have nice day,
Henrik
			
						Henrik
- 
				oleg.feoktistov
 - Veeam Software
 - Posts: 2037
 - Liked: 682 times
 - Joined: Sep 25, 2019 10:32 am
 - Full Name: Oleg Feoktistov
 - Contact:
 
Re: Enterprise Manager API BackupSession & Tasksession reason field
Yeah, looks more hopeful 
			
			
									
						
										
						Who is online
Users browsing this forum: srgl and 1 guest