nbritton
4 years agoLevel 4
NB-Job API github example problem seeing job results
Using 8.3.0.1 against the code listed here:
https://github.com/VeritasOS/netbackup-api-code-samples/blob/master/snippets/powershell/Get-NB-Jobs.ps1
I updated the version to version 4
from:
$content_type = "application/vnd.netbackup+json;version=1.0"
to:
$content_type = "application/vnd.netbackup+json;version=4.0"
The login works fine, but when i do the job listing, i am not seeing what i would expect. I dont see any attributes, what i do see is a list of numbers in $responce.content. But i cant see any other data being returned.
Has anyone else had experiance with pulling jobs from powershell?