Skip to main content

Find iOS 17-Compatible Devices with Inventory Reports

Description

Use the included JSON definitions to import two iOS 17 compatibility Inventory Reports (formerly Queries) through the FileWave Command Line API. One report lists compatible devices and the other lists incompatible devices; both are available in FileWave Central and FileWave Anywhere.

iOS

Inventory Reports that list device compatibility

The screenshot below shows the former Queries interface in an older version of FileWave Central.

XrZXeblGj0rFAVWc-embedded-image-qjyymnf7.png

Ingredients

  • FileWave application token with permission to create Inventory Reports
  • The included iOS 17 Inventory Report JSON files

Compatible Query

Incompatible Query

ios17_compatible.json

ios17_incompatible.json

Directions

Download the compatible and incompatible JSON files above. Upload each definition through the FileWave Command Line API, then open the imported reports in FileWave Central or FileWave Anywhere.

Obtain a FileWave application token and substitute your own server address and token in the examples. Keep production tokens out of scripts and command history whenever possible.

  • Token: <application-token>
  • Server address: <filewave-server.example>
  • File: ios17_compatible.json

Command Line API POST

Run the command from the directory that contains ios17_compatible.json. Use ios17_incompatible.json for the second report.

The examples keep TLS certificate verification enabled. Do not add -k to production commands.

Shell Script:

curl -s -H "Authorization: $FILEWAVE_TOKEN" https://filewave-server.example:20445/inv/api/v1/query/ --header "Content-Type: application/json" -X POST -d @ios17_compatible.json

PowerShell:

$uri = 'https://<filewave-server.example>:20445/inv/api/v1/query/'
if (-not $env:FILEWAVE_TOKEN) { throw 'Set FILEWAVE_TOKEN before running this command.' }
$headers = @{
    'Authorization' = $env:FILEWAVE_TOKEN
    'Content-Type' = 'application/json'
}
$body = Get-Content -Raw -Path 'ios17_compatible.json'

$response = Invoke-RestMethod -Uri $uri -Headers $headers -Method Post -Body $body
$response