Return All Completed and Submitted Sessions with No Failures for a Given Serial Number
To return all completed and submitted sessions that do not contain any failures, run the following command:
curl -X 'POST' 'https://vuforia.ptc.com/customer-events/<orgid>/report?' \
-H 'accept: application/json' \
-H 'x-requested-with: fetch' \
-H 'x-api-key: <x-api-key secret>' \
-H 'Content-Type: application/json' \
-d '{ "serialNumber": <serial#>, "granularity": "procedure", "feedback": ["na", "complete"], "failures": "exclude" }'
The results that are returned should look similar to the following:
{
"items": [
{
"sessionId": "f145cadf-ed5d-4db8-8f71-b18f03a66ed4",
"procedure": {
"id": "44ff1de0-a9ef-11eb-9403-25f934520fd1",
"title": "****",
"versionId": "32a0c0c4c5f84279a31fe7d43a1c20e6",
"versionName": "10.0",
"startTime": "2022-04-12T19:38:28.670Z",
"latestEventTimestamp": "2022-04-12T19:39:15.634Z",
"endTime": "2022-04-12T19:39:15.634Z",
"status": "complete",
"progress": "completed",
"feedback": "complete",
"serialNumber": "129GYT",
"requiresSerialNumber": true
},
"user": {
"id": "e65924f8-fdbd-4fb3-b911-83296387059a"
}
}
],
"granularity": "procedure",
"fullCount": "1"
}