傳回指定序號中所有不具備「失敗」狀態之所有已完成及已提交的工作階段
如要傳回所有不包含任何「失敗」狀態之所有已完成與已提交的工作階段,請執行下列指令:
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"
}