ahmedi
8 months agoLevel 2
backupTime ge invalid OData filter
Hello all.
I'm trying to query the NetBackup 9 API 5 to get a list of images with the filter below, but it says that the filter is invalid.
"filter": "backupTime ge '2017-11-20T23:20:50Z'"
error: {'errorCode': 9401, 'errorMessage': 'The OData filter criteria is invalid.', 'attributeErrors': {}, 'fileUploadErrors': [], 'errorDetails': ['The filter is invalid.']}
Can you please help me.
Hello davidmoline
I found this link: https://github.com/VeritasOS/netbackup-api-code-samples/issues/46
There are no quotes around the date-time.
Thanks for your support.