NSX-T Data Center REST API
Create an new packet capture session
Create an new packet capture session on given node with specified optionsRequest:
Method:
              POST
            URI Path(s):
              
                /api/v1/pktcap/session
                
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    PacketCaptureRequest+
  Example Request:
POST https://<nsx-mgr>/api/v1/pktcap/session { "node": "094f370c-d336-11e7-9776-3ba7f30fcb1f", "cappoint": "LOGICALPORT", "capvalue": "502ca1f1-3958-7d8e-ffc1-48d99fa80192.001", "direction": "input", "capmode": "standalone", "options": { "values":[ {"name":"IPPROTO", "value":"0x01"} ] } } }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    PacketCaptureSession+