Cisco D9800 Reference Manual page 291

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

API Definitions
Status: 200
Content-type: application/xml
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>0</code><result>success</result><message>ping data collection is in
progress</message></response>
In JSON:
HTTP/1.1 200 OK
Date: Mon, 26 Jun 2017 12:00:15 GMT
Server: Hiawatha v9.14
Connection: keep-alive
Transfer-Encoding: chunked
Status: 200
Content-type: application/json
{
"response": {
}
}
Expected output (for Fail case which indicates that IP Diag Package Preparation was not started):
Additional failure reason details may be available by calling the DIAGSTAT API.
Note
In XML:
HTTP/1.1 200 OK
Date: Mon, 26 Jun 2017 11:29:29 GMT
Server: Hiawatha v9.14
Connection: keep-alive
Transfer-Encoding: chunked
Status: 200
Content-type: application/xml
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>10</code><result>failure</result><message>failure to trigger
request</message></response>
In JSON:
HTTP/1.1 200 OK
Date: Mon, 26 Jun 2017 12:00:15 GMT
Server: Hiawatha v9.14
Connection: keep-alive
Transfer-Encoding: chunked
Status: 200
Content-type: application/json
{
"response": {
}
}
"code": "0",
"result": "success",
"message": "ping data collection is in progress"
"code": "10",
"result": "failure",
"message": "failure to trigger request "
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
IP Diagnostics Commands
279

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents