You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mikey, I don't believe this is a limitation of your module, because I see the same when I query directly using an API URL, but I am hoping you may know the answer. If I query a device thus (https://eu-api.ninjarmm.com/v2/device/xxxx), or by using your module, the NinjaOne API documentation schema suggests that I should see the device warranty dates returned:
"warranty": {
"startDate": 0,
"endDate": 0
}
But I never seem to get that data returned, even though the Ninja web GUI does have the warranty dates for the device displayed.
EDIT: Thanks to LukeW @ Ninja I now know that ?expand=warranty on the end of the URL adds the warranty dates into the returned data. Maybe a Get-NinjaOneDeviceWarranty function might be the solution?
Thanks!
The text was updated successfully, but these errors were encountered:
Mikey, I don't believe this is a limitation of your module, because I see the same when I query directly using an API URL, but I am hoping you may know the answer. If I query a device thus (https://eu-api.ninjarmm.com/v2/device/xxxx), or by using your module, the NinjaOne API documentation schema suggests that I should see the device warranty dates returned:
"warranty": {
"startDate": 0,
"endDate": 0
}
But I never seem to get that data returned, even though the Ninja web GUI does have the warranty dates for the device displayed.
EDIT: Thanks to LukeW @ Ninja I now know that ?expand=warranty on the end of the URL adds the warranty dates into the returned data. Maybe a Get-NinjaOneDeviceWarranty function might be the solution?
Thanks!
The text was updated successfully, but these errors were encountered: