Verify and validate contents of inbox

post

http://<SDWAN_TENANT_IP>/restapi/change_management/verify_inbox

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
A JSON object containing the timestamp
Root Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : data
Type: object
Show Source
Nested Schema : result_rows
Type: array
Show Source
  • Example: { "hw_model":"", "file_type":"2", "reason_string":"", "file_name":"''", "result_type":"4", "misc_text":"" }

401 Response

Not Logged into the SDWAN-Edge device
Body ()
Root Schema : 401NotLoggedin
Type: object
Show Source

403 Response

Insufficient Userlevel
Body ()
Root Schema : 403InsufficientUserLevel
Type: object
Show Source

405 Response

Invalid request method
Body ()
Root Schema : 405ExpectedPost
Type: object
Show Source
Back to Top

Examples

Example of Accessing the API with cURL

The following example shows how to verify and validate the contents of the inbox by submitting a POST request on the REST resource using cURL. If the request requires a timestamp, use the timestamp from the response of the /login API. For more information about cURL, see Use cURL.

curl -X POST \
    -b cookies.txt \
    -d@request.json \
    --header "Content-Type: application/json" \
    "https://$IPADDR/restapi/change_management/verify_inbox"

The following shows an example of the contents of the request.json file sent as the request body.

{
  "timestamp": "<timestamp>"
}

Example of the Response Body

The following example shows the contents of the response body in JSON format.

{
  "config_filename": "DefaultConfig.cfg",
  "data": {
    "result_rows": [
      {
        "file_name": null,
        "file_type": null,
        "hw_model": null,
        "misc_text": "* -> WARNING: EC477:  internet_default_set 'Default_Internet_Policy' is not used by any Internet Service in this network.\n* -> WARNING: EC477:  intranet_default_set 'Default_Intranet_Policy' is not used by any Intranet Service in this network.\n\nThis Configuration is valid, but please note the above warnings.  (version 1613603847)\n\nFiles created:\n        DefaultConfig.xml\n\tconfig_id_file.lst\n\n",
        "reason_string": "Network staging validation successful",
        "result_type": "1"
      }
    ]
  },
  "message": "Success verifying network staging package.  Validation Results: Network staging validation successful",
  "state": "network_staging",
  "state_int": 0,
  "status": "success"
}
Back to Top