Next page from reporting API. Could someone explain how to use that next page token? I don't understand how that PageToken is added to that curl. Here what is at help file.
Creating a paging token input parameter
Here is an example of how to edit the userReportParams.json file to request an additional page of the audit report. This example uses a shortened page token. The page token in an actual report is longer.
Curl Command for requesting a subsequent page
Here is an example of how to request an additional page of the audit report. Notice that the curl command does not change, only the request body.
Curl command request
curl -kiX POST -T userReportParams.json -H "Accept: application/json" -H "Authorization: Bearer ya29.qwHWIcw1FLhJh4-Y84FP_mp-PqaTgS5vHCNENuAB42qQ_4C5QuO4tmvTFE-XeLbYtDFhDGN65dA6yg" -H "X-HCPAW-MANAGEMENT-API-VERSION: 2.1.0" -H "X-HCPAW-DEVICE-ID:myUniqueID" "https://api.anywhere.example.com:8000/mapi/report/audit/user/activity/file/modifications"