{"type":"api","title":"Update Queue Entry","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Monitoring - DPI - On-demand troubleshooting"],"description":"Updates on-demand troubleshooting queue entry","operationId":"updateQueueEntry","parameters":[{"name":"entryId","in":"path","description":"Entry Id","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"On-demand queue entry","content":{"application/json":{"schema":{"type":"object"},"examples":{"OnDemandQueueEntry":{"description":"OnDemandQueueEntry","value":{"device_id":"10.0.1.17","data_type":"DPI","time_period":"LAST_N_HOURS","value":24}}}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"OnDemandQueueEntry":{"description":"OnDemandQueueEntry","value":{"id":"ac031e7b-9c6e-4375-8589-ad503f9d52d2","device_id":"10.0.1.17","data_type":"DPI","time_period":"LAST_N_HOURS","value":24}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Device Monitoring-read,RBAC VPN-read","method":"put","path":"/statistics/on-demand/queue/{entryId}"}}