针对给定序列号,返回所有不含失败步骤的已完成和已提交会话
要返回不包含任何失败的所有已完成会话和已提交会话,请运行以下命令:
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" }'
返回的结果应如下例所示:
{
"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"
}