{"type":"api","title":"Get Session Info Capture","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":["Troubleshooting Tools - Diagnostics"],"description":"Create packet capture session","operationId":"getSessionInfoCapture","requestBody":{"description":"Packet Capture Parameters","content":{"application/json":{"schema":{"type":"object","properties":{"bidirectional":{"type":"boolean","example":true},"destination_ip":{"type":"string","example":"2.2.2.2"},"destination_port":{"type":"string","example":"222"},"deviceUUID":{"type":"string","example":"C8K-4d204234-4aa1-4311-8913-67beeb8651c0"},"interface":{"type":"string","example":"GigabitEthernet5"},"interfaceIP":{"type":"string","example":"10.1.14.14"},"protocol":{"type":"string","example":"6"},"source_ip":{"type":"string","example":"1.1.1.1"},"source_port":{"type":"string","example":"111"},"type":{"type":"string","example":"control","enum":["control","data"]},"vpn":{"type":"string","example":"0"}},"$$ref":"#/components/schemas/CreatePacketCaptureReq"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"@rid":{"type":"integer","format":"int32","example":3765},"JSessionId":{"type":"string","example":"2j1QnIq4iFxEjwoxHfYK_zefKjpB7c3fFl483jac"},"isNewSession":{"type":"boolean","example":true},"isOwner":{"type":"boolean","example":true},"renewalTime":{"type":"integer","format":"int64","example":1695089425303},"requestStatus":{"type":"string","enum":["START","STOP","IN_PROGRESS","NOT_STARTED"]},"sessionId":{"type":"string","format":"uuid","example":"a9fd18d5-0303-43d1-b821-2358992e0274"},"startTime":{"type":"integer","format":"int64","example":1695089425303},"status":{"type":"string","example":"success","enum":["success","failure"]},"statusMessage":{"type":"string","example":"ok"},"type":{"type":"string","example":"pcap"},"user":{"type":"string","example":"admin"},"userIp":{"type":"string","example":"10.0.1.1"},"uuid":{"type":"string","example":"C8K-86adc384-8408-4cec-acdb-8117c40a8a24"}},"$$ref":"#/components/schemas/PacketCaptureInfo"}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Tools-read","method":"post","path":"/stream/device/capture"}}